{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/github/main/json-schema/github-enterprise-security-analysis-settings-schema.json",
  "title": "Enterprise Security Analysis Settings",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/github-enterprise-admin-api-openapi.yml#/components/schemas/enterprise-security-analysis-settings",
  "type": "object",
  "properties": {
    "advanced_security_enabled_for_new_repositories": {
      "type": "boolean",
      "description": "Whether GitHub advanced security is automatically enabled for new repositories and repositories transferred to\nthis enterprise."
    },
    "dependabot_alerts_enabled_for_new_repositories": {
      "type": "boolean",
      "description": "Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this\nenterprise."
    },
    "secret_scanning_enabled_for_new_repositories": {
      "type": "boolean",
      "description": "Whether secret scanning is automatically enabled for new repositories and repositories transferred to this\nenterprise."
    },
    "secret_scanning_push_protection_enabled_for_new_repositories": {
      "type": "boolean",
      "description": "Whether secret scanning push protection is automatically enabled for new repositories and repositories\ntransferred to this enterprise."
    },
    "secret_scanning_push_protection_custom_link": {
      "type": [
        "string",
        "null"
      ],
      "description": "An optional URL string to display to contributors who are blocked from pushing a secret."
    }
  },
  "required": [
    "advanced_security_enabled_for_new_repositories",
    "dependabot_alerts_enabled_for_new_repositories",
    "secret_scanning_enabled_for_new_repositories",
    "secret_scanning_push_protection_enabled_for_new_repositories"
  ]
}