Styra DAS for Visual Studio CodeStyra Link is a new way of working with Styra DAS. It allows you to create a new Styra DAS system or connect with an existing one. Once connected you can write, test, validate, and publish policy all within your normal development workflow. If you prefer the command line, that is where Styra Link started. But now, this extension also brings the capabilities of Styra Link right into VSCode to streamline your workflow! CommandsSome of the commands execute immediately but those with a trailing ellipsis ask you to enter several inputs.
Be on the lookout! When you see the footnote indicator next to the prompt
Editing Rego FilesRego is the authorization language of Open Policy Agent, or "OPA" for short. This extension provides syntax highlighting for rego files. In addition, we provide a wealth of ready-made policy snippets to jump start your rego journey. Note that whether you have any snippets depends on the system type of the DAS system that you have connected to your currently loaded VSCode project with Styra Link. For example, there are over 120 snippets defined for Kubernetes systems. In addition to the policy snippets, which vary based on the system type, there are a few general language snippets as well to aid you in getting up to speed with rego. All of these start with "rego" as the trigger, so just type that into a rego file and you will see a list of them. Requirements
Extension Settings
Known IssuesNone |