Edit

Share via


CodeSecurityFeatures interface

Properties

codeQLEnabled

CodeQL enablement status set to False when disabled and True when enabled; Null is never explicitly set.

codeSecurityChangedBy

The VSID of the last user who modified the enablement status of Code Security.

codeSecurityEnabled

Code Security enablement status set to False when disabled and True when enabled; Null is never explicitly set.

codeSecurityEnablementLastChangedDate

The last time the status of Code Security for this repository was updated

dependabotEnabled

Dependabot enablement status set to False when disabled and True when enabled; Null is never explicitly set. <br />When true, Dependabot will open PRs to support security updates for outdated dependencies. <br />Setting Dependabot enablement state is only supported for repo enablement and not org or project enablement at this time.

dependencyScanningInjectionEnabled

Dependency Scanning Injection enablement status set to False when disabled and True when enabled; Null is never explicitly set. <br /> If Advanced Security is NOT already enabled, behavior will depend on if Advanced Security is to be enabled/disabled. DependencyScanningInjectionEnabled will not affect anything in this scenario. <br /> If Advanced Security is to be disabled, the value of DependencyScanningInjectionEnabled will have no effect. <br /> Setting Dependency Scanning enablement state is only supported for repo enablement and not org or project enablement at this time.

Property Details

codeQLEnabled

CodeQL enablement status set to False when disabled and True when enabled; Null is never explicitly set.

codeQLEnabled: boolean

Property Value

boolean

codeSecurityChangedBy

The VSID of the last user who modified the enablement status of Code Security.

codeSecurityChangedBy: string

Property Value

string

codeSecurityEnabled

Code Security enablement status set to False when disabled and True when enabled; Null is never explicitly set.

codeSecurityEnabled: boolean

Property Value

boolean

codeSecurityEnablementLastChangedDate

The last time the status of Code Security for this repository was updated

codeSecurityEnablementLastChangedDate: Date

Property Value

Date

dependabotEnabled

Dependabot enablement status set to False when disabled and True when enabled; Null is never explicitly set. <br />When true, Dependabot will open PRs to support security updates for outdated dependencies. <br />Setting Dependabot enablement state is only supported for repo enablement and not org or project enablement at this time.

dependabotEnabled: boolean

Property Value

boolean

dependencyScanningInjectionEnabled

Dependency Scanning Injection enablement status set to False when disabled and True when enabled; Null is never explicitly set. <br /> If Advanced Security is NOT already enabled, behavior will depend on if Advanced Security is to be enabled/disabled. DependencyScanningInjectionEnabled will not affect anything in this scenario. <br /> If Advanced Security is to be disabled, the value of DependencyScanningInjectionEnabled will have no effect. <br /> Setting Dependency Scanning enablement state is only supported for repo enablement and not org or project enablement at this time.

dependencyScanningInjectionEnabled: boolean

Property Value

boolean