WorkOS

audit_logs.actions.schemas.create

Creates a new Audit Log schema used to validate the payload of incoming Audit Log Events. If the `action` does not exist, it will also be created.

Remote workos

Other tools also called audit_logs.actions.schemas.create? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "actor": {
      "type": "object",
      "required": [
        "metadata"
      ],
      "properties": {
        "metadata": {
          "type": "object",
          "description": "JSON schema for actor metadata."
        }
      }
    },
    "targets": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "type": "string",
            "description": "The type of the target resource."
          },
          "metadata": {
            "type": "object",
            "description": "Optional JSON schema for target metadata."
          }
        }
      },
      "description": "The list of targets for the schema."
    },
    "metadata": {
      "type": "object",
      "description": "Optional JSON schema for event metadata."
    },
    "actionName": {
      "type": "string",
      "description": "The name of the Audit Log action."
    }
  }
}
          

Provider

WorkOS →