Edit

Share via


SecretProtectionFeatures interface

Properties

blockPushes

When true, pushes containing secrets will be blocked. <br />When false, pushes are scanned for secrets and are not blocked. <br />If includeAllProperties in the request is false, this value will be null.

secretProtectionChangedBy

The VSID of the last user who modified the enablement status of Secret Protection.

secretProtectionEnabled

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

secretProtectionEnablementLastChangedDate

The last time the status of Secret Protection for this repository was updated

Property Details

blockPushes

When true, pushes containing secrets will be blocked. <br />When false, pushes are scanned for secrets and are not blocked. <br />If includeAllProperties in the request is false, this value will be null.

blockPushes: boolean

Property Value

boolean

secretProtectionChangedBy

The VSID of the last user who modified the enablement status of Secret Protection.

secretProtectionChangedBy: string

Property Value

string

secretProtectionEnabled

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

secretProtectionEnabled: boolean

Property Value

boolean

secretProtectionEnablementLastChangedDate

The last time the status of Secret Protection for this repository was updated

secretProtectionEnablementLastChangedDate: Date

Property Value

Date