GitHub · Schema

code-security-configuration

A code security configuration

CodeDeveloper ToolsPipelinesPlatformSoftware DevelopmentVersion ControlT1GitHub

Properties

Name Type Description
id integer The ID of the code security configuration
name string The name of the code security configuration. Must be unique within the organization.
target_type string The type of the code security configuration.
description stringnull A description of the code security configuration
advanced_security string The enablement status of GitHub Advanced Security
dependency_graph string The enablement status of Dependency Graph
dependency_graph_autosubmit_action string The enablement status of Automatic dependency submission
dependency_graph_autosubmit_action_options object Feature options for Automatic dependency submission
dependabot_alerts string The enablement status of Dependabot alerts
dependabot_reachability string The enablement status of reachability analysis for Dependabot. Only returned for organizations and enterprises with access to reachability analysis.
dependabot_security_updates string The enablement status of Dependabot security updates
dependabot_delegated_alert_dismissal stringnull The enablement status of Dependabot delegated alert dismissal
code_scanning_options objectnull Feature options for code scanning
code_scanning_default_setup string The enablement status of code scanning default setup
code_scanning_default_setup_options objectnull Feature options for code scanning default setup
code_scanning_delegated_alert_dismissal string The enablement status of code scanning delegated alert dismissal
secret_scanning string The enablement status of secret scanning
secret_scanning_push_protection string The enablement status of secret scanning push protection
secret_scanning_delegated_bypass string The enablement status of secret scanning delegated bypass
secret_scanning_delegated_bypass_options object Feature options for secret scanning delegated bypass
secret_scanning_validity_checks string The enablement status of secret scanning validity checks
secret_scanning_non_provider_patterns string The enablement status of secret scanning non-provider patterns
secret_scanning_generic_secrets string The enablement status of Copilot secret scanning
secret_scanning_generic_secrets_push_protection string The enablement status of generic secrets push protection
secret_scanning_delegated_alert_dismissal string The enablement status of secret scanning delegated alert dismissal
secret_scanning_extended_metadata string The enablement status of secret scanning extended metadata
private_vulnerability_reporting string The enablement status of private vulnerability reporting
enforcement string The enforcement status for a security configuration
url string The URL of the configuration
html_url string The URL of the configuration
created_at string
updated_at string
View JSON Schema on GitHub

JSON Schema

github-code-security-configuration-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/github/json-schema/github-code-security-configuration-schema.json",
  "title": "code-security-configuration",
  "description": "A code security configuration",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/github-code-security-api-openapi.yml#/components/schemas/code-security-configuration",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The ID of the code security configuration"
    },
    "name": {
      "type": "string",
      "description": "The name of the code security configuration. Must be unique within the organization."
    },
    "target_type": {
      "type": "string",
      "description": "The type of the code security configuration.",
      "enum": [
        "global",
        "organization",
        "enterprise"
      ]
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "A description of the code security configuration"
    },
    "advanced_security": {
      "type": "string",
      "description": "The enablement status of GitHub Advanced Security",
      "enum": [
        "enabled",
        "disabled",
        "code_security",
        "secret_protection"
      ]
    },
    "dependency_graph": {
      "type": "string",
      "description": "The enablement status of Dependency Graph",
      "enum": [
        "enabled",
        "disabled",
        "not_set"
      ]
    },
    "dependency_graph_autosubmit_action": {
      "type": "string",
      "description": "The enablement status of Automatic dependency submission",
      "enum": [
        "enabled",
        "disabled",
        "not_set"
      ]
    },
    "dependency_graph_autosubmit_action_options": {
      "type": "object",
      "description": "Feature options for Automatic dependency submission",
      "properties": {
        "labeled_runners": {
          "type": "boolean",
          "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners."
        }
      }
    },
    "dependabot_alerts": {
      "type": "string",
      "description": "The enablement status of Dependabot alerts",
      "enum": [
        "enabled",
        "disabled",
        "not_set"
      ]
    },
    "dependabot_reachability": {
      "type": "string",
      "description": "The enablement status of reachability analysis for Dependabot. Only returned for organizations and enterprises with access to reachability analysis.",
      "enum": [
        "enabled",
        "disabled",
        "not_set"
      ]
    },
    "dependabot_security_updates": {
      "type": "string",
      "description": "The enablement status of Dependabot security updates",
      "enum": [
        "enabled",
        "disabled",
        "not_set"
      ]
    },
    "dependabot_delegated_alert_dismissal": {
      "type": [
        "string",
        "null"
      ],
      "description": "The enablement status of Dependabot delegated alert dismissal",
      "enum": [
        "enabled",
        "disabled",
        "not_set",
        null
      ]
    },
    "code_scanning_options": {
      "type": [
        "object",
        "null"
      ],
      "description": "Feature options for code scanning",
      "properties": {
        "allow_advanced": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Whether to allow repos which use advanced setup"
        }
      }
    },
    "code_scanning_default_setup": {
      "type": "string",
      "description": "The enablement status of code scanning default setup",
      "enum": [
        "enabled",
        "disabled",
        "not_set"
      ]
    },
    "code_scanning_default_setup_options": {
      "type": [
        "object",
        "null"
      ],
      "description": "Feature options for code scanning default setup",
      "properties": {
        "runner_type": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "standard",
            "labeled",
            "not_set",
            null
          ],
          "description": "Whether to use labeled runners or standard GitHub runners."
        },
        "runner_label": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label of the runner to use for code scanning when runner_type is 'labeled'."
        }
      }
    },
    "code_scanning_delegated_alert_dismissal": {
      "type": "string",
      "description": "The enablement status of code scanning delegated alert dismissal",
      "enum": [
        "enabled",
        "disabled",
        "not_set"
      ]
    },
    "secret_scanning": {
      "type": "string",
      "description": "The enablement status of secret scanning",
      "enum": [
        "enabled",
        "disabled",
        "not_set"
      ]
    },
    "secret_scanning_push_protection": {
      "type": "string",
      "description": "The enablement status of secret scanning push protection",
      "enum": [
        "enabled",
        "disabled",
        "not_set"
      ]
    },
    "secret_scanning_delegated_bypass": {
      "type": "string",
      "description": "The enablement status of secret scanning delegated bypass",
      "enum": [
        "enabled",
        "disabled",
        "not_set"
      ]
    },
    "secret_scanning_delegated_bypass_options": {
      "type": "object",
      "description": "Feature options for secret scanning delegated bypass",
      "properties": {
        "reviewers": {
          "type": "array",
          "description": "The bypass reviewers for secret scanning delegated bypass",
          "items": {
            "type": "object",
            "required": [
              "reviewer_id",
              "reviewer_type"
            ],
            "properties": {
              "reviewer_id": {
                "type": "integer",
                "description": "The ID of the team or role selected as a bypass reviewer"
              },
              "reviewer_type": {
                "type": "string",
                "description": "The type of the bypass reviewer",
                "enum": [
                  "TEAM",
                  "ROLE"
                ]
              },
              "mode": {
                "type": "string",
                "description": "The bypass mode for the reviewer",
                "enum": [
                  "ALWAYS",
                  "EXEMPT"
                ],
                "default": "ALWAYS"
              },
              "security_configuration_id": {
                "type": "integer",
                "description": "The ID of the security configuration associated with this bypass reviewer"
              }
            }
          }
        }
      }
    },
    "secret_scanning_validity_checks": {
      "type": "string",
      "description": "The enablement status of secret scanning validity checks",
      "enum": [
        "enabled",
        "disabled",
        "not_set"
      ]
    },
    "secret_scanning_non_provider_patterns": {
      "type": "string",
      "description": "The enablement status of secret scanning non-provider patterns",
      "enum": [
        "enabled",
        "disabled",
        "not_set"
      ]
    },
    "secret_scanning_generic_secrets": {
      "type": "string",
      "description": "The enablement status of Copilot secret scanning",
      "enum": [
        "enabled",
        "disabled",
        "not_set"
      ]
    },
    "secret_scanning_generic_secrets_push_protection": {
      "type": "string",
      "description": "The enablement status of generic secrets push protection",
      "enum": [
        "enabled",
        "disabled",
        "not_set"
      ]
    },
    "secret_scanning_delegated_alert_dismissal": {
      "type": "string",
      "description": "The enablement status of secret scanning delegated alert dismissal",
      "enum": [
        "enabled",
        "disabled",
        "not_set"
      ]
    },
    "secret_scanning_extended_metadata": {
      "type": "string",
      "description": "The enablement status of secret scanning extended metadata",
      "enum": [
        "enabled",
        "disabled",
        "not_set"
      ]
    },
    "private_vulnerability_reporting": {
      "type": "string",
      "description": "The enablement status of private vulnerability reporting",
      "enum": [
        "enabled",
        "disabled",
        "not_set"
      ]
    },
    "enforcement": {
      "type": "string",
      "description": "The enforcement status for a security configuration",
      "enum": [
        "enforced",
        "unenforced",
        "enterprise_enforced"
      ]
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "The URL of the configuration"
    },
    "html_url": {
      "type": "string",
      "format": "uri",
      "description": "The URL of the configuration"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}

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/github-code-security-configuration"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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