sgnl-ai/Check SGNL Policy
Calls SGNL for a policy check. Also see https://developer.sgnl.ai/
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| domain | The SGNL API hostname -> {subdomain}.sgnlapis.cloud | yes | — |
| token | The authentication token used to make calls to the SGNL access API | yes | — |
| principalId | The identity of the principal executing this action. Typically a github username or email address. | yes | — |
| assetId | The identifier of an asset for this policy check. Typically the repo from the action. At least one of 'assetId' or 'action' is required. | no | — |
| action | An optional action to pass to SGNL. At least one of 'assetId' or 'action' is required. | no | — |
| bypassMode | Don't actually call SGNL, instead always return Allow. ~~WARNING~~ Setting this to true will disable using SGNL. Use for testing or break glass only. | yes | false |
Outputs
| name | description |
|---|---|
| reason | Any decision reason output from the policy evaluation. |
| decision | Policy decision as a boolean. (true = Allow, false = Deny) |