Skip to main content

Compensatingcontrolcreate

Properties

NameTypeDescriptionNotes
NameStringThe display name of the compensating control.[required]
DescriptionStringA human-readable description of the compensating control.[optional]
OwnerReferenceinput[required]
SecondaryOwners[]ReferenceinputReferences to additional identities or governance groups that share ownership of the compensating control (maximum 10).[optional]
TypeEnum [ "Mitigation", "Remediation" ]The type of compensating control that determines how a violation is addressed.[required]
ActionEnum [ "Workflow", "Certification" ]The action performed when the compensating control is applied.[optional]
ExpirationStringThe duration after which the applied control expires, expressed as a duration string.[optional]
JustificationRequiredBooleanIndicates whether a justification is required when applying this control.[optional] [default to $false]
WorkflowIDStringWorkflow definition ID used when the control action is a workflow.[optional]

Examples

  • Prepare the resource
$Compensatingcontrolcreate = Initialize-Compensatingcontrolcreate  -Name a name `
-Description a description `
-Owner null `
-SecondaryOwners [{"id":"943a7c57da334d07ba2454bf7fcf144f","type":"GOVERNANCE_GROUP"}] `
-Type Mitigation `
-Action Workflow `
-Expiration 20d `
-JustificationRequired true `
-WorkflowID 3e07886555ed43cfb83c85c58d2016e6
  • Convert the resource to JSON
$Compensatingcontrolcreate | ConvertTo-JSON

[Back to top]