code_scanning_alert reopened event

APIs.ioEngineeringPlatform

Properties

Name Type Description
action string
alert object The code scanning alert involved in the event.
commit_oid string The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.
enterprise object
installation object
organization object
ref string The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.
repository object
sender object
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-webhook-code-scanning-alert-reopened-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/webhook-code-scanning-alert-reopened",
  "title": "code_scanning_alert reopened event",
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "reopened"
      ]
    },
    "alert": {
      "description": "The code scanning alert involved in the event.",
      "type": "object",
      "nullable": true,
      "properties": {
        "created_at": {
          "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`",
          "type": "string",
          "format": "date-time"
        },
        "dismissed_at": {
          "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
          "type": "string",
          "nullable": true
        },
        "dismissed_by": {
          "type": "object",
          "nullable": true
        },
        "dismissed_reason": {
          "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
          "type": "string",
          "nullable": true
        },
        "html_url": {
          "description": "The GitHub URL of the alert resource.",
          "type": "string",
          "format": "uri"
        },
        "most_recent_instance": {
          "title": "Alert Instance",
          "type": "object",
          "nullable": true,
          "properties": {
            "analysis_key": {
              "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.",
              "type": "string"
            },
            "category": {
              "description": "Identifies the configuration under which the analysis was executed.",
              "type": "string"
            },
            "classifications": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "commit_sha": {
              "type": "string"
            },
            "environment": {
              "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.",
              "type": "string"
            },
            "location": {
              "type": "object",
              "properties": {
                "end_column": {
                  "type": "integer"
                },
                "end_line": {
                  "type": "integer"
                },
                "path": {
                  "type": "string"
                },
                "start_column": {
                  "type": "integer"
                },
                "start_line": {
                  "type": "integer"
                }
              }
            },
            "message": {
              "type": "object",
              "properties": {
                "text": {
                  "type": "string"
                }
              }
            },
            "ref": {
              "description": "The full Git reference, formatted as `refs/heads/<branch name>`.",
              "type": "string"
            },
            "state": {
              "description": "State of a code scanning alert.",
              "type": "string",
              "enum": [
                "open",
                "dismissed",
                "fixed"
              ]
            }
          },
          "required": [
            "ref",
            "analysis_key",
            "environment",
            "state"
          ]
        },
        "number": {
          "description": "The code scanning alert number.",
          "type": "integer"
        },
        "rule": {
          "type": "object",
          "properties": {
            "description": {
              "description": "A short description of the rule used to detect the alert.",
              "type": "string"
            },
            "full_description": {
              "type": "string"
            },
            "help": {
              "type": "string",
              "nullable": true
            },
            "help_uri": {
              "description": "A link to the documentation for the rule used to detect the alert.",
              "type": "string",
              "nullable": true
            },
            "id": {
              "description": "A unique identifier for the rule used to detect the alert.",
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "severity": {
              "description": "The severity of the alert.",
              "type": "string",
              "nullable": true,
              "enum": [
                "none",
                "note",
                "warning",
                "error",
                null
              ]
            },
            "tags": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "string"
              }
            }
          },
          "required": [
            "id",
            "severity",
            "description"
          ]
        },
        "state": {
          "description": "State of a code scanning alert.",
          "type": "string",
          "enum": [
            "open",
            "dismissed",
            "fixed"
          ]
        },
        "tool": {
          "type": "object",
          "properties": {
            "guid": {
              "type": "string",
              "nullable": true
            },
            "name": {
              "description": "The name of the tool used to generate the code scanning analysis alert.",
              "type": "string"
            },
            "version": {
              "description": "The version of the tool used to detect the alert.",
              "type": "string",
              "nullable": true
            }
          },
          "required": [
            "name",
            "version"
          ]
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      },
      "required": [
        "number",
        "created_at",
        "url",
        "html_url",
        "state",
        "dismissed_by",
        "dismissed_at",
        "dismissed_reason",
        "rule",
        "tool"
      ]
    },
    "commit_oid": {
      "description": "The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.",
      "type": "string",
      "nullable": true
    },
    "enterprise": {
      "$ref": "#/components/schemas/enterprise-webhooks"
    },
    "installation": {
      "$ref": "#/components/schemas/simple-installation"
    },
    "organization": {
      "$ref": "#/components/schemas/organization-simple-webhooks"
    },
    "ref": {
      "description": "The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.",
      "type": "string",
      "nullable": true
    },
    "repository": {
      "$ref": "#/components/schemas/repository-webhooks"
    },
    "sender": {
      "$ref": "#/components/schemas/simple-user-webhooks"
    }
  },
  "required": [
    "action",
    "alert",
    "ref",
    "commit_oid",
    "repository",
    "sender"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/apis-io-engineering-platform-webhook-code-scanning-alert-reopened"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.