{
  "definitions": [
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 1,
      "name": "DETECTOR_KINDS",
      "signature": "export const DETECTOR_KINDS = [\"address\", \"bearer\", \"credential\", \"database\", \"jwt\", \"key\", \"ssh\", \"token\"] as const;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 3,
      "name": "EXCLUSION_REASONS",
      "signature": "export const EXCLUSION_REASONS = [\"third-party-rule-text\", \"binary\", \"rendered-media\", \"backup\"] as const;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 5,
      "name": "DETECTOR_SUFFIX",
      "signature": "export const DETECTOR_SUFFIX = \".predicate.ts\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 7,
      "name": "TOKEN_SHAPES",
      "signature": "export const TOKEN_SHAPES = ["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 15,
      "name": "PEM_OPENING",
      "signature": "export const PEM_OPENING = \"-----BEGIN\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 17,
      "name": "PRIVATE_KEY_MARK",
      "signature": "export const PRIVATE_KEY_MARK = \"PRIVATE KEY\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 19,
      "name": "SSH_PREFIXES",
      "signature": "export const SSH_PREFIXES: readonly string[] = [\"ssh-rsa \", \"ssh-ed25519 \", \"ssh-dss \", \"ecdsa-sha2-nistp256 \"];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 21,
      "name": "SSH_MIN_BODY",
      "signature": "export const SSH_MIN_BODY = 16;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 23,
      "name": "DATABASE_SCHEMES",
      "signature": "export const DATABASE_SCHEMES: readonly string[] = ["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 33,
      "name": "BEARER_PREFIX",
      "signature": "export const BEARER_PREFIX = \"Bearer \";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 35,
      "name": "BEARER_MIN_LENGTH",
      "signature": "export const BEARER_MIN_LENGTH = 20;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 37,
      "name": "JWT_OPENING",
      "signature": "export const JWT_OPENING = \"eyJ\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 39,
      "name": "JWT_SEGMENTS",
      "signature": "export const JWT_SEGMENTS = 3;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 41,
      "name": "JWT_MIN_SEGMENT",
      "signature": "export const JWT_MIN_SEGMENT = 8;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 43,
      "name": "JWT_SEPARATOR",
      "signature": "export const JWT_SEPARATOR = \".\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 45,
      "name": "SCHEME_MARK",
      "signature": "export const SCHEME_MARK = \"://\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 47,
      "name": "AUTHORITY_ENDS",
      "signature": "export const AUTHORITY_ENDS: ReadonlySet<string> = new Set([\"/\", \"?\", \"#\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 49,
      "name": "CREDENTIAL_AT",
      "signature": "export const CREDENTIAL_AT = \"@\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 51,
      "name": "CREDENTIAL_COLON",
      "signature": "export const CREDENTIAL_COLON = \":\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 53,
      "name": "BASE64_URL_MARKS",
      "signature": "export const BASE64_URL_MARKS: ReadonlySet<string> = new Set([\"-\", \"_\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 55,
      "name": "DASH",
      "signature": "export const DASH = \"-\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 57,
      "name": "LOCAL_ADDRESSES",
      "signature": "export const LOCAL_ADDRESSES: ReadonlySet<string> = new Set([\"::\", \"0.0.0.0\", \"::1\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 59,
      "name": "LOOPBACK_V4_PREFIX",
      "signature": "export const LOOPBACK_V4_PREFIX = \"127.\";"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/secrets#file-secrets-configuration-constants-detector-constants-ts",
  "language": "typescript",
  "layer": "infrastructure",
  "name": "detector.constants.ts",
  "path": "configuration/constants/detector.constants.ts",
  "ref": "anatomy:file-secrets-configuration-constants-detector-constants-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/secrets#folder-secrets-configuration-constants",
          "json": "https://banes-lab.com/json/anatomy/secrets/folder-secrets-configuration-constants",
          "label": "configuration/constants",
          "markdown": "https://banes-lab.com/anatomy/secrets/folder-secrets-configuration-constants.md",
          "ref": "chapter:/anatomy/secrets#folder-secrets-configuration-constants"
        }
      ],
      "relation": "contained-in"
    }
  ],
  "slots": {
    "concern": "constants",
    "subject": "detector",
    "variant": null
  },
  "stats": {
    "bytes": 1755,
    "callable": 0,
    "definitions": 23,
    "edges": 0,
    "exported": 23,
    "files": 1,
    "findings": {},
    "flows": {
      "isolated": 23
    },
    "lines": {
      "blank": 22,
      "code": 37,
      "total": 59
    }
  },
  "summary": "37 lines of code and 23 definitions.",
  "text": "https://banes-lab.com/source/secrets/configuration/constants/detector.constants.ts.txt",
  "tree": "secrets",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/secrets#file-secrets-configuration-constants-environment-constants-ts",
      "json": "https://banes-lab.com/json/source/secrets/configuration/constants/environment.constants.ts",
      "label": "configuration/constants/environment.constants.ts",
      "markdown": "https://banes-lab.com/source/secrets/configuration/constants/environment.constants.ts.md",
      "ref": "anatomy:file-secrets-configuration-constants-environment-constants-ts"
    },
    "previous": null
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/secrets/configuration/constants",
    "label": "configuration/constants",
    "markdown": "https://banes-lab.com/api/source/secrets/configuration/constants.md",
    "ref": "api:source/secrets/configuration/constants"
  }
}
