Skip to main content

SODViolationClosedPayload

Properties

NameTypeDescriptionNotes
CreatedSystem.DateTimeWhen the violation record was created.[optional]
ModifiedSystem.DateTimeWhen the violation was last modified.[optional]
IdStringViolation ID.[optional]
LastEvaluatedDateSystem.DateTimeWhen the violation was last evaluated.[optional]
LevelStringViolation severity level.[optional]
NameStringHuman-readable violation name.[optional]
OwnerSODViolationClosedPayloadOwner[optional]
PolicySODViolationClosedPayloadPolicy[optional]
PreviousStatusEnum [ "Open", "Mitigated" ]Violation status before closure (Open or Mitigated).[optional]
CurrentStatusEnum [ "Closed" ]Violation status after the event (always Closed for this webhook).[optional]
TargetSODViolationClosedPayloadTarget[optional]

Examples

  • Prepare the resource
$SODViolationClosedPayload = Initialize-SODViolationClosedPayload -Created 2026-03-04T22:51:24.535433Z `
-Modified 2026-03-04T22:51:24.535433Z `
-Id 230bb065e18641f9bd6985ea9cf2e1a4 `
-LastEvaluatedDate 2026-03-04T22:51:22.158Z `
-Level High `
-Name Violation for 01ea1d94-5db1-4444-a235-6f71c22b3449 - Target 2c9180888380236101838062022f00ea `
-Owner null `
-Policy null `
-PreviousStatus Mitigated `
-CurrentStatus Closed `
-Target null
  • Convert the resource to JSON
$SODViolationClosedPayload | ConvertTo-JSON

[Back to top]