agent-evidence-vectors v0.39.0

Schema incident-action-authorization/v1

Schema identifier: https://probityai.github.io/agent-evidence-vectors/schema/incident-action-authorization/v1

incident-action-authorization v1 statement. Shape and closed values of a decoded statement of https://probityai.github.io/agent-evidence-vectors/predicate/v1/incident-action-authorization. Cross-member rules need the checker.

Source: spec/schemas/incident-action-authorization-v1.schema.json. Carried in release v0.39.0. The identifier never changes meaning; a change is published under a new identifier.


{
  "$id": "https://probityai.github.io/agent-evidence-vectors/schema/incident-action-authorization/v1",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "description": "Shape and closed values of a decoded statement of https://probityai.github.io/agent-evidence-vectors/predicate/v1/incident-action-authorization. Cross-member rules need the checker.",
  "properties": {
    "_type": {
      "const": "https://in-toto.io/Statement/v1"
    },
    "predicate": {
      "additionalProperties": false,
      "properties": {
        "action": {
          "additionalProperties": false,
          "properties": {
            "functions": {
              "items": {
                "enum": [
                  "isolation",
                  "monitoring_increase",
                  "pause",
                  "remediation",
                  "restoration",
                  "restriction"
                ],
                "type": "string"
              },
              "minItems": 1,
              "type": "array",
              "uniqueItems": true
            },
            "inducedEffects": {
              "oneOf": [
                {
                  "additionalProperties": false,
                  "properties": {
                    "declared": {
                      "enum": [
                        "listed"
                      ],
                      "type": "string"
                    },
                    "items": {
                      "items": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "minItems": 1,
                      "type": "array",
                      "uniqueItems": true
                    }
                  },
                  "required": [
                    "declared",
                    "items"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "declared": {
                      "enum": [
                        "none_observed"
                      ],
                      "type": "string"
                    },
                    "observation": {
                      "additionalProperties": false,
                      "properties": {
                        "sha256": {
                          "pattern": "^[0-9a-f]{64}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "sha256"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "declared",
                    "observation"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "declared": {
                      "enum": [
                        "unknown"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "declared"
                  ],
                  "type": "object"
                }
              ]
            },
            "targets": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "id": {
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "id"
                ],
                "type": "object"
              },
              "minItems": 1,
              "type": "array"
            }
          },
          "required": [
            "functions",
            "inducedEffects",
            "targets"
          ],
          "type": "object"
        },
        "authorizedAt": {
          "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
          "type": "string"
        },
        "doesNotAssert": {
          "items": {
            "minLength": 1,
            "type": "string"
          },
          "type": "array"
        },
        "executedAt": {
          "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
          "type": "string"
        },
        "incident": {
          "additionalProperties": false,
          "properties": {
            "id": {
              "minLength": 1,
              "type": "string"
            },
            "issuer": {
              "pattern": "^https://[^\\s]+$",
              "type": "string"
            },
            "related": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "id": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "issuer": {
                    "pattern": "^https://[^\\s]+$",
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "issuer"
                ],
                "type": "object"
              },
              "type": "array"
            }
          },
          "required": [
            "id",
            "issuer"
          ],
          "type": "object"
        },
        "intentBinding": {
          "enum": [
            "asserted_after_execution",
            "committed_before_execution"
          ],
          "type": "string"
        },
        "issuedAt": {
          "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
          "type": "string"
        },
        "notAfter": {
          "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
          "type": "string"
        },
        "parties": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "authorityBasis": {
                "enum": [
                  "contract_third_party",
                  "executive_approval",
                  "policy_preauthorized",
                  "role_grant",
                  "unknown"
                ],
                "type": "string"
              },
              "id": {
                "minLength": 1,
                "type": "string"
              },
              "independenceBasis": {
                "enum": [
                  "independent_sources",
                  "subject_supplied",
                  "undeclared"
                ],
                "type": "string"
              },
              "roles": {
                "items": {
                  "enum": [
                    "accountable",
                    "advised",
                    "authorized",
                    "executed"
                  ],
                  "type": "string"
                },
                "minItems": 1,
                "type": "array",
                "uniqueItems": true
              }
            },
            "required": [
              "id",
              "roles"
            ],
            "type": "object"
          },
          "minItems": 1,
          "type": "array"
        },
        "pause": {
          "additionalProperties": false,
          "properties": {
            "hold": {
              "enum": [
                "effect_after_pause",
                "held",
                "in_flight_unknown",
                "not_established",
                "residual_state_remains"
              ],
              "type": "string"
            },
            "holdProof": {
              "additionalProperties": false,
              "properties": {
                "sha256": {
                  "pattern": "^[0-9a-f]{64}$",
                  "type": "string"
                }
              },
              "required": [
                "sha256"
              ],
              "type": "object"
            }
          },
          "required": [
            "hold",
            "holdProof"
          ],
          "type": "object"
        },
        "producer": {
          "additionalProperties": false,
          "properties": {
            "id": {
              "pattern": "^https://[^\\s]+$",
              "type": "string"
            }
          },
          "required": [
            "id"
          ],
          "type": "object"
        },
        "registryDigest": {
          "additionalProperties": false,
          "properties": {
            "sha256": {
              "pattern": "^[0-9a-f]{64}$",
              "type": "string"
            }
          },
          "required": [
            "sha256"
          ],
          "type": "object"
        }
      },
      "required": [
        "action",
        "authorizedAt",
        "doesNotAssert",
        "incident",
        "intentBinding",
        "issuedAt",
        "notAfter",
        "parties",
        "producer",
        "registryDigest"
      ],
      "type": "object"
    },
    "predicateType": {
      "const": "https://probityai.github.io/agent-evidence-vectors/predicate/v1/incident-action-authorization"
    },
    "subject": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "digest": {
            "additionalProperties": false,
            "properties": {
              "sha256": {
                "pattern": "^[0-9a-f]{64}$",
                "type": "string"
              }
            },
            "required": [
              "sha256"
            ],
            "type": "object"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "digest"
        ],
        "type": "object"
      },
      "minItems": 1,
      "type": "array"
    }
  },
  "required": [
    "_type",
    "subject",
    "predicateType",
    "predicate"
  ],
  "title": "incident-action-authorization v1 statement",
  "type": "object"
}