Edit

Share via


EnablementStateTypes interface

Properties

anyTool

True if any tool is enabled for the repository, false if any tool is disabled.

codeAlerts

True if code scanning alerts are enabled for the repository, false if disabled.

codePRAlerts

True if code scanning pull request alerts are enabled for the repository, false if disabled.

dependencyAlerts

True if dependency alerts are enabled for the repository, false if disabled.

dependencyPRAlerts

True if dependency pull request alerts are enabled for the repository, false if disabled.

pushProtection

True if pushes containing secrets will be blocked, false if they will not.

secretAlerts

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