PageSourceSearch

https://www.openpolicyagent.org/assets/js/39278c85.e2b3e0d2.js

js openpolicyagent.org collected 2026-09-24 08:30:22 UTC 3,776 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkopa_website=self.webpackChunkopa_website||[]).push([[21632],{4971:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>u,frontMatter:()=>o,metadata:()=>s,toc:()=>c});const s=JSON.parse('{"id":"remote-features","title":"remote-features","description":"Remote Features | Regal","source":"@site/projects/regal/remote-features.md","sourceDirName":".","slug":"/remote-features","permalink":"/projects/regal/remote-features","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":11,"frontMatter":{"sidebar_position":11,"sidebar_label":"Remote Features"},"sidebar":"autoSidebar","previous":{"title":"Debugging Rego","permalink":"/projects/regal/debug-adapter"},"next":{"title":"Go Integration","permalink":"/projects/regal/integration"}}');var r=n(74848),i=n(28453);const o={sidebar_position:11,sidebar_label:"Remote Features"},a="Remote Features",l={},c=[{value:"Checking for Updates",id:"checking-for-updates",level:2}];function d(e){const t={code:"code",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.R)(),...e.components},{Head:n}=t;return n||function(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Head",!0),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n,{children:(0,r.jsx)("title",{children:"Remote Features | Regal"})}),"\n",(0,r.jsx)(t.header,{children:(0,r.jsx)(t.h1,{id:"remote-features",children:"Remote Features"})}),"\n",(0,r.jsx)(t.p,{children:"This page outlines the features of Regal that need internet access to function."}),"\n",(0,r.jsx)(t.h2,{id:"checking-for-updates",children:"Checking for Updates"}),"\n",(0,r.jsx)(t.p,{children:"Regal will check for updates on startup. If a new version is available,\nRegal will notify you by writing a message in stderr."}),"\n",(0,r.jsx)(t.p,{children:"An example of such a message is:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-txt",children:"A new version of Regal is available (v0.23.1). You are running v0.23.0.\nSee https://github.com/open-policy-agent/regal/releases/tag/v0.23.1 for the latest release.\n"})}),"\n",(0,r.jsxs)(t.p,{children:["This message is based on the local version set in the Regal binary, and ",(0,r.jsx)(t.strong,{children:"no\nuser data is sent"})," to GitHub where the releases are hosted."]}),"\n",(0,r.jsxs)(t.p,{children:["This same function will also write to the file at: ",(0,r.jsx)(t.code,{children:"$HOME/.config/regal/latest_version.json"}),",\nthis is used as a cache of the latest version to avoid consuming excessive\nGitHub API rate limits when using Regal."]}),"\n",(0,r.jsx)(t.p,{children:"This functionality can be disabled in two ways:"}),"\n",(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:["Using ",(0,r.jsx)(t.code,{children:".regal/config.yaml"})," / ",(0,r.jsx)(t.code,{children:".regal.yaml"}),": set ",(0,r.jsx)(t.code,{children:"features.remote.check-version"})," to ",(0,r.jsx)(t.code,{children:"false"}),"."]}),"\n",(0,r.jsxs)(t.li,{children:["Using an environment variable: set ",(0,r.jsx)(t.code,{children:"REGAL_DISABLE_CHECK_VERSION"})," to ",(0,r.jsx)(t.code,{children:"true"}),"."]}),"\n"]})]})}function u(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},28453:(e,t,n)=>{n.d(t,{R:()=>o,x:()=>a});var s=n(96540);const r={},i=s.createContext(r);function o(e){const t=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.