EnablementStateTypes interface
Properties
| any |
True if any tool is enabled for the repository, false if any tool is disabled. |
| code |
True if code scanning alerts are enabled for the repository, false if disabled. |
| code |
True if code scanning pull request alerts are enabled for the repository, false if disabled. |
| dependency |
True if dependency alerts are enabled for the repository, false if disabled. |
| dependency |
True if dependency pull request alerts are enabled for the repository, false if disabled. |
| push |
True if pushes containing secrets will be blocked, false if they will not. |
| secret |
True if secret scanning is enabled for the repository, false if disabled. |
Property Details
anyTool
True if any tool is enabled for the repository, false if any tool is disabled.
anyTool: boolean
Property Value
boolean
codeAlerts
True if code scanning alerts are enabled for the repository, false if disabled.
codeAlerts: boolean
Property Value
boolean
codePRAlerts
True if code scanning pull request alerts are enabled for the repository, false if disabled.
codePRAlerts: boolean
Property Value
boolean
dependencyAlerts
True if dependency alerts are enabled for the repository, false if disabled.
dependencyAlerts: boolean
Property Value
boolean
dependencyPRAlerts
True if dependency pull request alerts are enabled for the repository, false if disabled.
dependencyPRAlerts: boolean
Property Value
boolean
pushProtection
True if pushes containing secrets will be blocked, false if they will not.
pushProtection: boolean
Property Value
boolean
secretAlerts
True if secret scanning is enabled for the repository, false if disabled.
secretAlerts: boolean
Property Value
boolean