Pure Storage · Schema

Audit

Audit schema from Pure1 Public REST API

StorageData StorageFlash StorageEnterprise StorageCloud StorageObject StorageFile StorageBlock StorageKubernetes StorageInfrastructure
View JSON Schema on GitHub

JSON Schema

pure1-cloud-api-audit-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Audit",
  "description": "Audit schema from Pure1 Public REST API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-schema/pure1-cloud-api-audit-schema.json",
  "allOf": [
    {
      "description": "A built-in resource that exists on one or multiple arrays.\n",
      "allOf": [
        {
          "$ref": "#/components/schemas/_resource"
        },
        {
          "$ref": "#/components/schemas/_arrays"
        }
      ]
    },
    {
      "description": "An audit of an action executed on an array or in Pure1.\n",
      "type": "object",
      "properties": {
        "arguments": {
          "description": "Arguments provided to the command.",
          "type": "string",
          "example": "--args"
        },
        "command": {
          "description": "The command that was executed.",
          "type": "string",
          "example": "purevol"
        },
        "origin": {
          "description": "Origin of the action. Valid values are `array` and `Pure1`.",
          "type": "string",
          "example": "array"
        },
        "subcommand": {
          "description": "The subcommand that was executed.",
          "type": "string",
          "example": "snap"
        },
        "time": {
          "description": "Time at which the command was run in milliseconds since UNIX epoch.\n",
          "type": "integer",
          "format": "int64",
          "example": 1502729489760
        },
        "user": {
          "description": "The user who ran the command.",
          "type": "string",
          "example": "pureuser"
        }
      }
    }
  ]
}