{
  "annotations": {
    "idempotentHint": false,
    "readOnlyHint": true,
    "title": "List secret scanning alerts"
  },
  "description": "List secret scanning alerts in a GitHub repository.",
  "inputSchema": {
    "properties": {
      "owner": {
        "description": "The owner of the repository.",
        "type": "string"
      },
      "page": {
        "description": "Page number for pagination (min 1)",
        "minimum": 1,
        "type": "number"
      },
      "perPage": {
        "description": "Results per page for pagination (min 1, max 100)",
        "maximum": 100,
        "minimum": 1,
        "type": "number"
      },
      "repo": {
        "description": "The name of the repository.",
        "type": "string"
      },
      "resolution": {
        "description": "Filter by resolution",
        "enum": [
          "false_positive",
          "wont_fix",
          "revoked",
          "pattern_edited",
          "pattern_deleted",
          "used_in_tests"
        ],
        "type": "string"
      },
      "secret_type": {
        "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter.",
        "type": "string"
      },
      "state": {
        "description": "Filter by state",
        "enum": [
          "open",
          "resolved"
        ],
        "type": "string"
      }
    },
    "required": [
      "owner",
      "repo"
    ],
    "type": "object"
  },
  "name": "list_secret_scanning_alerts"
}