Skip to content
Proud to collaborate with Microsoft for Startups

security.org-workflow-policy.set ​

Disable (or record the state of) a namespace or workflow type for the current organization.

Upsert one denylist row (disable a namespace or workflow type) for the org.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-security
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo—Resolved server-side from the caller's token; input is advisory.
actorstringNo—Acting user; recorded as created_by.
target_kindstringYes—'namespace' or 'workflow_type'.
targetstringYes—A namespace (e.g. 'bling') or an exact workflow type (e.g. 'bling.fetch-dre').
disabledbooleanNo—Defaults to true (presence = OFF).

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo——
actorstringNo—Echo of acting user when provided.
target_kindstringNo——
targetstringNo——
disabledbooleanNo——
createdbooleanNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—executeAccepted
completedNoYesYes—Upserted
failedNoYesNo—Failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "security.org-workflow-policy.set",
  "initial_data": {
    "target_kind": "value",
    "target": "value"
  }
}