{
  "schema_version": "1",
  "content_version": "2026.09.25.1",
  "published_at": "2026-11-23T04:33:56.6313134Z",
  "content_sha256": "971e8d87fecf550cac0232ebb50bd22558a53c0b7ece414170d57a32890e8fb8",
  "checksets": {
    "mongo_checkset_v1.yaml": "checkset_id: \"mongo-security-v1\"\nengine: \"mongodb\"\nname: \"MongoDB Security Checks\"\ndescription: \"Comprehensive security checks for MongoDB databases based on CIS benchmarks\"\nversion: \"1.1.1\"\nbenchmark_reference: \"CIS MongoDB Benchmark v1.0.0\"\n\nchecks:\n  - check_id: \"mg-auth-001\"\n    title: \"Authentication enabled\"\n    description: \"Ensures MongoDB requires authentication for all connections\"\n    severity: \"CRITICAL\"\n    category: \"authentication\"\n    engine: \"mongodb\"\n    source_type: \"cmd\"\n    command:\n      db: \"admin\"\n      cmd: \"getParameter\"\n      args:\n        authenticationMechanisms: 1\n    evaluation:\n      type: \"path_equals\"\n      path: \"ok\"\n      expected: 1\n    remediation:\n      summary: \"Enable authentication in MongoDB configuration\"\n      steps:\n        - \"Set security.authorization: enabled in mongod.conf\"\n        - \"Create admin user before enabling auth\"\n        - \"Restart MongoDB\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.1\"\n        name: \"Ensure authentication is enabled\"\n    tags: [\"authentication\", \"authorization\"]\n\n  - check_id: \"mg-tls-001\"\n    title: \"TLS/SSL enabled for connections\"\n    description: \"Ensures TLS is enabled and configured for all client connections\"\n    severity: \"CRITICAL\"\n    category: \"network\"\n    engine: \"mongodb\"\n    source_type: \"cmd\"\n    command:\n      db: \"admin\"\n      cmd: \"getCmdLineOpts\"\n    evaluation:\n      type: \"path_in\"\n      path: \"parsed.net.tls.mode\"\n      expected: [\"requireTLS\", \"preferTLS\"]\n    not_applicable_when:\n      - query_error_contains: \"unauthorized\"\n    remediation:\n      summary: \"Enable TLS in MongoDB configuration\"\n      steps:\n        - \"Generate TLS certificates (CA, server, client)\"\n        - \"Set net.tls.mode: requireTLS in mongod.conf\"\n        - \"Set net.tls.certificateKeyFile and net.tls.CAFile\"\n        - \"Restart MongoDB\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.2\"\n        name: \"Ensure TLS is enabled\"\n    tags: [\"network\", \"encryption\", \"tls\"]\n\n  - check_id: \"mg-bind-001\"\n    title: \"Network binding restricted\"\n    description: \"Ensures MongoDB is not bound to all interfaces (0.0.0.0)\"\n    severity: \"HIGH\"\n    category: \"network\"\n    engine: \"mongodb\"\n    source_type: \"cmd\"\n    command:\n      db: \"admin\"\n      cmd: \"getCmdLineOpts\"\n    # bindIp can be a comma list; \"*\" (--bind_ip_all) and \"::\" also mean\n    # every interface.\n    evaluation:\n      type: \"path_not_contains_any\"\n      path: \"parsed.net.bindIp\"\n      expected: [\"0.0.0.0\", \"::\", \"*\"]\n    not_applicable_when:\n      - query_error_contains: \"unauthorized\"\n    remediation:\n      summary: \"Restrict MongoDB network binding\"\n      steps:\n        - \"Set net.bindIp to specific IP addresses in mongod.conf\"\n        - \"Use 127.0.0.1 for local-only or specific private IPs\"\n        - \"Restart MongoDB\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.3\"\n        name: \"Ensure network binding is restricted\"\n    tags: [\"network\", \"binding\", \"access-control\"]\n\n  - check_id: \"mg-audit-001\"\n    title: \"Audit logging enabled\"\n    description: \"Ensures audit logging is enabled for tracking database operations\"\n    severity: \"HIGH\"\n    category: \"logging\"\n    engine: \"mongodb\"\n    source_type: \"cmd\"\n    command:\n      db: \"admin\"\n      cmd: \"getParameter\"\n      args:\n        auditAuthorizationSuccess: 1\n    evaluation:\n      type: \"path_exists\"\n      path: \"auditAuthorizationSuccess\"\n    not_applicable_when:\n      - query_error_contains: \"no such parameter\"\n      - query_error_contains: \"no option found to get\"  # MongoDB 7+ wording\n      - query_error_contains: \"requires MongoDB Enterprise\"\n    remediation:\n      summary: \"Enable audit logging (Enterprise feature)\"\n      steps:\n        - \"Set auditLog.destination in mongod.conf\"\n        - \"Configure auditLog.filter for specific operations\"\n        - \"Restart MongoDB\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"4.1\"\n        name: \"Ensure audit logging is enabled\"\n    tags: [\"logging\", \"audit\", \"enterprise\"]\n\n  - check_id: \"mg-enc-001\"\n    title: \"Encryption at rest configured\"\n    description: \"Ensures encryption at rest is enabled for data protection\"\n    severity: \"HIGH\"\n    category: \"encryption\"\n    engine: \"mongodb\"\n    source_type: \"cmd\"\n    command:\n      db: \"admin\"\n      cmd: \"getCmdLineOpts\"\n    evaluation:\n      type: \"path_exists\"\n      path: \"parsed.security.enableEncryption\"\n    not_applicable_when:\n      - query_error_contains: \"unauthorized\"\n      - query_error_contains: \"requires MongoDB Enterprise\"\n    remediation:\n      summary: \"Enable encryption at rest (Enterprise feature)\"\n      steps:\n        - \"Set security.enableEncryption: true in mongod.conf\"\n        - \"Configure encryption key management (KMIP or local keyfile)\"\n        - \"Restart MongoDB\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"6.1\"\n        name: \"Ensure encryption at rest is enabled\"\n    tags: [\"encryption\", \"storage\", \"enterprise\"]\n\n  - check_id: \"mg-role-001\"\n    title: \"No users with excessive built-in roles\"\n    description: \"Ensures no user has both readWriteAnyDatabase and userAdminAnyDatabase roles\"\n    severity: \"HIGH\"\n    category: \"privileges\"\n    engine: \"mongodb\"\n    source_type: \"cmd\"\n    command:\n      db: \"admin\"\n      cmd: \"usersInfo\"\n      args: 1\n    evaluation:\n      type: \"no_excessive_roles\"\n      excessive_combinations:\n        - [\"readWriteAnyDatabase\", \"userAdminAnyDatabase\"]\n        - [\"dbAdminAnyDatabase\", \"userAdminAnyDatabase\"]\n    not_applicable_when:\n      - feature_disabled: \"authorization\"\n    remediation:\n      summary: \"Separate database admin and user admin roles\"\n      steps:\n        - \"Review user roles: db.getUsers() on admin database\"\n        - \"Remove excessive role combinations\"\n        - \"Follow principle of least privilege\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"5.1\"\n        name: \"Ensure excessive role combinations are avoided\"\n    tags: [\"privileges\", \"roles\", \"separation-of-duties\"]\n\n  - check_id: \"mg-authmech-001\"\n    title: \"Strong authentication mechanisms configured\"\n    description: \"Ensures authentication mechanisms include SCRAM-SHA-256\"\n    severity: \"MEDIUM\"\n    category: \"authentication\"\n    engine: \"mongodb\"\n    source_type: \"cmd\"\n    command:\n      db: \"admin\"\n      cmd: \"getParameter\"\n      args:\n        authenticationMechanisms: 1\n    evaluation:\n      type: \"contains_all\"\n      path: \"authenticationMechanisms\"\n      expected: [\"SCRAM-SHA-256\"]\n    remediation:\n      summary: \"Configure SCRAM-SHA-256 authentication\"\n      steps:\n        - \"Set setParameter.authenticationMechanisms: [SCRAM-SHA-256] in mongod.conf\"\n        - \"Recreate user credentials with SCRAM-SHA-256\"\n        - \"Restart MongoDB\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.4\"\n        name: \"Ensure strong authentication mechanisms are used\"\n    tags: [\"authentication\", \"scram\", \"mechanisms\"]\n\n  - check_id: \"mg-x509-001\"\n    title: \"X.509 certificate authentication available\"\n    description: \"Ensures X.509 certificate-based authentication is configured for inter-node communication\"\n    severity: \"MEDIUM\"\n    category: \"authentication\"\n    engine: \"mongodb\"\n    source_type: \"cmd\"\n    command:\n      db: \"admin\"\n      cmd: \"getCmdLineOpts\"\n    evaluation:\n      type: \"path_exists\"\n      path: \"parsed.net.tls.clusterFile\"\n    not_applicable_when:\n      - query_error_contains: \"unauthorized\"\n    remediation:\n      summary: \"Configure X.509 for cluster authentication\"\n      steps:\n        - \"Generate cluster member certificates\"\n        - \"Set net.tls.clusterFile in mongod.conf\"\n        - \"Set security.clusterAuthMode: x509\"\n        - \"Restart MongoDB\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.5\"\n        name: \"Ensure X.509 authentication is configured\"\n    tags: [\"authentication\", \"x509\", \"certificates\"]\n\n  - check_id: \"mg-telemetry-001\"\n    title: \"Free monitoring / telemetry disabled\"\n    description: \"Ensures cloud free monitoring telemetry is disabled to prevent data leakage\"\n    severity: \"LOW\"\n    category: \"configuration\"\n    engine: \"mongodb\"\n    source_type: \"cmd\"\n    command:\n      db: \"admin\"\n      cmd: \"getParameter\"\n      args:\n        cloudFreeMonitoringEnabled: 1\n    evaluation:\n      type: \"path_equals\"\n      path: \"cloudFreeMonitoringEnabled\"\n      expected: false\n    not_applicable_when:\n      - query_error_contains: \"no such parameter\"\n      - query_error_contains: \"no option found to get\"  # MongoDB 7+ wording\n    remediation:\n      summary: \"Disable free monitoring telemetry\"\n      steps:\n        - \"Run: db.disableFreeMonitoring()\"\n        - \"Or set cloud.monitoring.free.state: off in mongod.conf\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"7.1\"\n        name: \"Ensure free monitoring is disabled\"\n    tags: [\"configuration\", \"telemetry\", \"privacy\"]\n\n  - check_id: \"mg-ports-001\"\n    title: \"MongoDB not listening on public interfaces\"\n    description: \"Ensures MongoDB port is not bound to 0.0.0.0 or public IPs\"\n    severity: \"HIGH\"\n    category: \"network\"\n    engine: \"mongodb\"\n    source_type: \"pseudo\"\n    command:\n      type: \"agent:portCheck\"\n      port: 27017\n    evaluation:\n      type: \"not_publicly_listening\"\n      port: 27017\n    not_applicable_when:\n      - os_not_supported: \"no_socket_enumeration\"\n    remediation:\n      summary: \"Restrict MongoDB to private network interfaces\"\n      steps:\n        - \"Set net.bindIp to specific private IPs in mongod.conf\"\n        - \"Use firewall rules to restrict access to port 27017\"\n        - \"Restart MongoDB\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.6\"\n        name: \"Ensure MongoDB is not publicly accessible\"\n    tags: [\"network\", \"ports\", \"binding\"]\n\n  - check_id: \"mg-repl-001\"\n    title: \"Replica set keyfile authentication configured\"\n    description: \"Ensures replica set members authenticate with keyFile or x509\"\n    severity: \"HIGH\"\n    category: \"replication\"\n    engine: \"mongodb\"\n    source_type: \"cmd\"\n    command:\n      db: \"admin\"\n      cmd: \"getCmdLineOpts\"\n    evaluation:\n      type: \"path_exists\"\n      path: \"parsed.security.keyFile\"\n    not_applicable_when:\n      - query_error_contains: \"unauthorized\"\n      - query_error_contains: \"not running with --replSet\"\n    remediation:\n      summary: \"Configure keyFile authentication for replica set\"\n      steps:\n        - \"Generate keyfile: openssl rand -base64 756 \u003e /etc/mongodb-keyfile\"\n        - \"Set permissions: chmod 400 /etc/mongodb-keyfile\"\n        - \"Set security.keyFile in mongod.conf\"\n        - \"Restart all replica set members\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"6.2\"\n        name: \"Ensure replica set authentication is configured\"\n    tags: [\"replication\", \"authentication\", \"keyfile\"]\n\n  - check_id: \"mg-conf-001\"\n    title: \"JavaScript execution disabled\"\n    description: \"Ensures server-side JavaScript execution is disabled to prevent injection\"\n    severity: \"MEDIUM\"\n    category: \"configuration\"\n    engine: \"mongodb\"\n    source_type: \"cmd\"\n    # javascriptEnabled is a config-file / command-line option, not a server\n    # parameter (getParameter fails on every version). Absent = default true.\n    command:\n      db: \"admin\"\n      cmd: \"getCmdLineOpts\"\n    evaluation:\n      type: \"path_equals\"\n      path: \"parsed.security.javascriptEnabled\"\n      expected: false\n    remediation:\n      summary: \"Disable JavaScript execution\"\n      steps:\n        - \"Set security.javascriptEnabled: false in mongod.conf\"\n        - \"Or start mongod with --noscripting\"\n        - \"Restart MongoDB\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"7.2\"\n        name: \"Ensure JavaScript is disabled\"\n    tags: [\"configuration\", \"javascript\", \"injection\"]\n\n  - check_id: \"mg-priv-001\"\n    title: \"No users with root role\"\n    description: \"Ensures no regular users have the root role which grants full access\"\n    severity: \"CRITICAL\"\n    category: \"privileges\"\n    engine: \"mongodb\"\n    source_type: \"cmd\"\n    command:\n      db: \"admin\"\n      cmd: \"usersInfo\"\n      args: 1\n    evaluation:\n      type: \"no_root_users\"\n      max_root_users: 1\n    not_applicable_when:\n      - feature_disabled: \"authorization\"\n    remediation:\n      summary: \"Remove root role from non-essential users\"\n      steps:\n        - \"Review users: db.getUsers() on admin database\"\n        - \"Revoke root role: db.revokeRolesFromUser('username', [{role:'root',db:'admin'}])\"\n        - \"Grant specific roles based on needs\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"5.2\"\n        name: \"Ensure root role usage is minimized\"\n    tags: [\"privileges\", \"root\", \"roles\"]\n\n  - check_id: \"mg-log-001\"\n    title: \"Log verbosity configured\"\n    description: \"Ensures system log verbosity is set to capture important events\"\n    severity: \"LOW\"\n    category: \"logging\"\n    engine: \"mongodb\"\n    source_type: \"cmd\"\n    command:\n      db: \"admin\"\n      cmd: \"getParameter\"\n      args:\n        logLevel: 1\n    evaluation:\n      type: \"path_equals\"\n      path: \"logLevel\"\n      expected: 0\n    remediation:\n      summary: \"Set appropriate log verbosity level\"\n      steps:\n        - \"Default logLevel 0 is recommended for production\"\n        - \"Set systemLog.verbosity: 0 in mongod.conf\"\n        - \"Increase temporarily for debugging only\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"4.2\"\n        name: \"Ensure log verbosity is configured\"\n    tags: [\"logging\", \"verbosity\"]\n\n  - check_id: \"mg-index-001\"\n    title: \"Profiling level configured\"\n    description: \"Ensures database profiling is configured for slow query detection\"\n    severity: \"LOW\"\n    category: \"logging\"\n    engine: \"mongodb\"\n    source_type: \"cmd\"\n    command:\n      db: \"admin\"\n      cmd:\n        profile: -1\n    evaluation:\n      type: \"path_equals\"\n      path: \"was\"\n      expected: 1\n    remediation:\n      summary: \"Enable profiling for slow operations\"\n      steps:\n        - \"Set db.setProfilingLevel(1, {slowms: 100})\"\n        - \"Or set operationProfiling.mode: slowOp in mongod.conf\"\n        - \"Set operationProfiling.slowOpThresholdMs: 100\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"4.3\"\n        name: \"Ensure profiling is configured\"\n    tags: [\"logging\", \"profiling\", \"slow-queries\"]\n\n  - check_id: \"mg-exposure-001\"\n    title: \"Database service is not publicly exposed\"\n    description: \"Detects if MongoDB is bound to non-loopback interfaces, exposing it beyond localhost\"\n    severity: \"CRITICAL\"\n    category: \"Network\"\n    engine: \"mongodb\"\n    source_type: \"pseudo\"\n    command:\n      type: \"agent:exposureCheck\"\n      port: 27017\n    evaluation:\n      type: \"not_publicly_listening\"\n    not_applicable_when:\n      - query_error_contains: \"no_socket_enumeration\"\n    remediation:\n      summary: \"Bind MongoDB to specific private interfaces and restrict access with firewall rules\"\n      steps:\n        - \"Set net.bindIp in mongod.conf to specific private IPs (e.g., '10.0.1.5,172.16.0.2')\"\n        - \"Do not use 0.0.0.0 as bindIp\"\n        - \"Configure firewall rules to allow port 27017 only from authorized source IPs\"\n        - \"If using a replica set, ensure all member IPs are included in bindIp and firewall rules\"\n        - \"Restart MongoDB to apply changes\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.7\"\n        name: \"Ensure database service is not publicly exposed\"\n    tags: [\"network\", \"exposure\", \"binding\"]\n",
    "mssql_checkset_v1.yaml": "checkset_id: \"mssql-security-v1\"\nengine: \"mssql\"\nname: \"SQL Server Security Checks\"\ndescription: \"Comprehensive security checks for Microsoft SQL Server based on CIS benchmarks\"\nversion: \"1.1.0\"\nbenchmark_reference: \"CIS Microsoft SQL Server Benchmark v1.0.0\"\n\nchecks:\n  - check_id: \"ms-auth-001\"\n    title: \"SA account disabled\"\n    description: \"Ensures the sa (system administrator) account is disabled\"\n    severity: \"CRITICAL\"\n    category: \"authentication\"\n    engine: \"mssql\"\n    source_type: \"sql\"\n    query: \"SELECT count(*) as sa_enabled FROM sys.server_principals WHERE name = 'sa' AND is_disabled = 0\"\n    evaluation:\n      type: \"row_count_zero\"\n      field: \"sa_enabled\"\n      expected: \"0\"\n    not_applicable_when:\n      - query_error_contains: \"sa principal not found\"\n    remediation:\n      summary: \"Disable the sa account\"\n      steps:\n        - \"ALTER LOGIN sa DISABLE\"\n        - \"Rename sa account: ALTER LOGIN sa WITH NAME = [sa_disabled]\"\n        - \"Create dedicated admin accounts with specific permissions\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"2.1\"\n        name: \"Ensure the sa login account is disabled\"\n    tags: [\"authentication\", \"sa\", \"admin\"]\n\n  - check_id: \"ms-auth-002\"\n    title: \"SA account renamed\"\n    description: \"Ensures the default sa account has been renamed to reduce attack surface\"\n    severity: \"HIGH\"\n    category: \"authentication\"\n    engine: \"mssql\"\n    source_type: \"sql\"\n    query: \"SELECT count(*) as sa_default_name FROM sys.server_principals WHERE sid = 0x01 AND name = 'sa'\"\n    evaluation:\n      type: \"row_count_zero\"\n      field: \"sa_default_name\"\n      expected: \"0\"\n    not_applicable_when:\n      - query_error_contains: \"sid 0x01 not found\"\n    remediation:\n      summary: \"Rename the sa account\"\n      steps:\n        - \"ALTER LOGIN sa WITH NAME = [admin_renamed]\"\n        - \"Document the new name securely\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"2.2\"\n        name: \"Ensure the sa login account has been renamed\"\n    tags: [\"authentication\", \"sa\", \"rename\"]\n\n  - check_id: \"ms-mode-001\"\n    title: \"Windows Authentication Mode preferred\"\n    description: \"Ensures SQL Server uses Windows Authentication instead of Mixed Mode\"\n    severity: \"MEDIUM\"\n    category: \"authentication\"\n    engine: \"mssql\"\n    source_type: \"sql\"\n    query: \"SELECT SERVERPROPERTY('IsIntegratedSecurityOnly') as is_windows_auth\"\n    evaluation:\n      type: \"equals\"\n      field: \"is_windows_auth\"\n      expected: \"1\"\n    not_applicable_when:\n      - os_not_supported: \"linux\"\n    remediation:\n      summary: \"Switch to Windows Authentication Mode\"\n      steps:\n        - \"Open SQL Server Management Studio\"\n        - \"Right-click server \u003e Properties \u003e Security\"\n        - \"Select 'Windows Authentication mode'\"\n        - \"Restart SQL Server\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"2.3\"\n        name: \"Ensure Windows Authentication Mode is preferred\"\n    tags: [\"authentication\", \"windows-auth\", \"mixed-mode\"]\n\n  - check_id: \"ms-remote-001\"\n    title: \"Remote access disabled\"\n    description: \"Ensures remote access server configuration option is disabled\"\n    severity: \"MEDIUM\"\n    category: \"network\"\n    engine: \"mssql\"\n    source_type: \"sql\"\n    query: \"SELECT value_in_use FROM sys.configurations WHERE name = 'remote access'\"\n    evaluation:\n      type: \"equals\"\n      field: \"value_in_use\"\n      expected: \"0\"\n    remediation:\n      summary: \"Disable remote access configuration\"\n      steps:\n        - \"EXEC sp_configure 'remote access', 0\"\n        - \"RECONFIGURE\"\n        - \"Restart SQL Server\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.1\"\n        name: \"Ensure remote access is disabled\"\n    tags: [\"network\", \"remote-access\", \"configuration\"]\n\n  - check_id: \"ms-adhoc-001\"\n    title: \"Ad Hoc Distributed Queries disabled\"\n    description: \"Ensures Ad Hoc Distributed Queries are disabled to prevent unauthorized data access\"\n    severity: \"MEDIUM\"\n    category: \"configuration\"\n    engine: \"mssql\"\n    source_type: \"sql\"\n    query: \"SELECT value_in_use FROM sys.configurations WHERE name = 'Ad Hoc Distributed Queries'\"\n    evaluation:\n      type: \"equals\"\n      field: \"value_in_use\"\n      expected: \"0\"\n    remediation:\n      summary: \"Disable Ad Hoc Distributed Queries\"\n      steps:\n        - \"EXEC sp_configure 'Ad Hoc Distributed Queries', 0\"\n        - \"RECONFIGURE\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.2\"\n        name: \"Ensure Ad Hoc Distributed Queries is disabled\"\n    tags: [\"configuration\", \"distributed-queries\", \"attack-surface\"]\n\n  - check_id: \"ms-ole-001\"\n    title: \"OLE Automation Procedures disabled\"\n    description: \"Ensures OLE Automation Procedures are disabled to reduce attack surface\"\n    severity: \"MEDIUM\"\n    category: \"configuration\"\n    engine: \"mssql\"\n    source_type: \"sql\"\n    query: \"SELECT value_in_use FROM sys.configurations WHERE name = 'Ole Automation Procedures'\"\n    evaluation:\n      type: \"equals\"\n      field: \"value_in_use\"\n      expected: \"0\"\n    remediation:\n      summary: \"Disable OLE Automation Procedures\"\n      steps:\n        - \"EXEC sp_configure 'Ole Automation Procedures', 0\"\n        - \"RECONFIGURE\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.3\"\n        name: \"Ensure OLE Automation Procedures is disabled\"\n    tags: [\"configuration\", \"ole\", \"attack-surface\"]\n\n  - check_id: \"ms-clr-001\"\n    title: \"CLR enabled check\"\n    description: \"Ensures CLR integration is disabled unless specifically required by the application\"\n    severity: \"MEDIUM\"\n    category: \"configuration\"\n    engine: \"mssql\"\n    source_type: \"sql\"\n    query: \"SELECT value_in_use FROM sys.configurations WHERE name = 'clr enabled'\"\n    evaluation:\n      type: \"equals\"\n      field: \"value_in_use\"\n      expected: \"0\"\n    remediation:\n      summary: \"Disable CLR integration if not needed\"\n      steps:\n        - \"EXEC sp_configure 'clr enabled', 0\"\n        - \"RECONFIGURE\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.4\"\n        name: \"Ensure CLR is disabled\"\n    tags: [\"configuration\", \"clr\", \"attack-surface\"]\n\n  - check_id: \"ms-audit-001\"\n    title: \"Default trace enabled\"\n    description: \"Ensures default trace is enabled for basic auditing\"\n    severity: \"HIGH\"\n    category: \"logging\"\n    engine: \"mssql\"\n    source_type: \"sql\"\n    query: \"SELECT value_in_use FROM sys.configurations WHERE name = 'default trace enabled'\"\n    evaluation:\n      type: \"equals\"\n      field: \"value_in_use\"\n      expected: \"1\"\n    not_applicable_when:\n      - query_error_contains: \"Azure SQL Database\"\n    remediation:\n      summary: \"Enable default trace\"\n      steps:\n        - \"EXEC sp_configure 'default trace enabled', 1\"\n        - \"RECONFIGURE\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"4.1\"\n        name: \"Ensure default trace is enabled\"\n    tags: [\"logging\", \"audit\", \"trace\"]\n\n  - check_id: \"ms-pwpol-001\"\n    title: \"Password policy enforced for SQL logins\"\n    description: \"Ensures all SQL logins have password policy enforcement enabled\"\n    severity: \"HIGH\"\n    category: \"authentication\"\n    engine: \"mssql\"\n    source_type: \"sql\"\n    query: \"SELECT count(*) as no_policy_count FROM sys.sql_logins WHERE is_policy_checked = 0 AND is_disabled = 0 AND name NOT LIKE '##%'\"\n    evaluation:\n      type: \"row_count_zero\"\n      field: \"no_policy_count\"\n      expected: \"0\"\n    remediation:\n      summary: \"Enable password policy for all SQL logins\"\n      steps:\n        - \"Identify affected logins: SELECT name FROM sys.sql_logins WHERE is_policy_checked = 0\"\n        - \"ALTER LOGIN [login_name] WITH CHECK_POLICY = ON\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"2.4\"\n        name: \"Ensure password policy is enforced\"\n    tags: [\"authentication\", \"password\", \"policy\"]\n\n  - check_id: \"ms-guest-001\"\n    title: \"Guest user disabled in user databases\"\n    description: \"Ensures guest user does not have CONNECT permission in user databases\"\n    severity: \"HIGH\"\n    category: \"privileges\"\n    engine: \"mssql\"\n    source_type: \"sql\"\n    query: |\n      SELECT count(*) as guest_connect_count\n      FROM sys.databases d\n      CROSS APPLY (\n        SELECT dp.permission_name\n        FROM sys.database_permissions dp\n        JOIN sys.database_principals p ON dp.grantee_principal_id = p.principal_id\n        WHERE p.name = 'guest' AND dp.permission_name = 'CONNECT' AND dp.state = 'G'\n      ) perms\n      WHERE d.name NOT IN ('master', 'tempdb', 'msdb')\n        AND d.state_desc = 'ONLINE'\n    evaluation:\n      type: \"row_count_zero\"\n      field: \"guest_connect_count\"\n      expected: \"0\"\n    remediation:\n      summary: \"Revoke CONNECT from guest in user databases\"\n      steps:\n        - \"USE [database_name]; REVOKE CONNECT FROM guest\"\n        - \"Repeat for each user database\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"5.1\"\n        name: \"Ensure guest user CONNECT permission is revoked\"\n    tags: [\"privileges\", \"guest\", \"connect\"]\n\n  - check_id: \"ms-public-001\"\n    title: \"Excessive permissions not granted to public role\"\n    description: \"Ensures public server role does not have excessive permissions\"\n    severity: \"MEDIUM\"\n    category: \"privileges\"\n    engine: \"mssql\"\n    source_type: \"sql\"\n    query: \"SELECT count(*) as public_perm_count FROM sys.database_permissions WHERE grantee_principal_id = 0 AND permission_name NOT IN ('CONNECT', 'VIEW ANY COLUMN MASTER KEY DEFINITION', 'VIEW ANY COLUMN ENCRYPTION KEY DEFINITION') AND state = 'G'\"\n    evaluation:\n      type: \"row_count_zero\"\n      field: \"public_perm_count\"\n      expected: \"0\"\n    remediation:\n      summary: \"Revoke excessive permissions from public role\"\n      steps:\n        - \"Review public permissions: SELECT * FROM sys.database_permissions WHERE grantee_principal_id = 0\"\n        - \"REVOKE \u003cpermission\u003e FROM public for each excessive permission\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"5.2\"\n        name: \"Ensure public role permissions are restricted\"\n    tags: [\"privileges\", \"public\", \"permissions\"]\n\n  - check_id: \"ms-tde-001\"\n    title: \"Transparent Data Encryption enabled\"\n    description: \"Ensures TDE is enabled for user databases to encrypt data at rest\"\n    severity: \"HIGH\"\n    category: \"encryption\"\n    engine: \"mssql\"\n    source_type: \"sql\"\n    query: \"SELECT count(*) as unencrypted_count FROM sys.databases WHERE name NOT IN ('master', 'tempdb', 'msdb', 'model') AND is_encrypted = 0 AND state_desc = 'ONLINE'\"\n    evaluation:\n      type: \"row_count_zero\"\n      field: \"unencrypted_count\"\n      expected: \"0\"\n    not_applicable_when:\n      - query_error_contains: \"Express Edition\"\n    remediation:\n      summary: \"Enable TDE for user databases\"\n      steps:\n        - \"Create master key: CREATE MASTER KEY ENCRYPTION BY PASSWORD = '...'\"\n        - \"Create certificate: CREATE CERTIFICATE TDECert WITH SUBJECT = 'TDE Certificate'\"\n        - \"Create DEK: USE [db]; CREATE DATABASE ENCRYPTION KEY WITH ALGORITHM = AES_256 ENCRYPTION BY SERVER CERTIFICATE TDECert\"\n        - \"Enable TDE: ALTER DATABASE [db] SET ENCRYPTION ON\"\n        - \"Back up the certificate and private key\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"6.1\"\n        name: \"Ensure TDE is enabled\"\n    tags: [\"encryption\", \"tde\", \"storage\"]\n\n  - check_id: \"ms-force-enc-001\"\n    title: \"Force encryption enabled\"\n    description: \"Ensures SQL Server is configured to require encrypted connections\"\n    severity: \"HIGH\"\n    category: \"network\"\n    engine: \"mssql\"\n    source_type: \"sql\"\n    query: |\n      DECLARE @value INT;\n      EXEC xp_instance_regread\n        N'HKEY_LOCAL_MACHINE',\n        N'SOFTWARE\\Microsoft\\Microsoft SQL Server\\MSSQLServer\\SuperSocketNetLib',\n        N'ForceEncryption',\n        @value OUTPUT;\n      SELECT @value as force_encryption;\n    evaluation:\n      type: \"equals\"\n      field: \"force_encryption\"\n      expected: \"1\"\n    not_applicable_when:\n      - query_error_contains: \"permission denied\"\n      - query_error_contains: \"xp_instance_regread\"\n    remediation:\n      summary: \"Enable force encryption in SQL Server\"\n      steps:\n        - \"Open SQL Server Configuration Manager\"\n        - \"Navigate to SQL Server Network Configuration \u003e Protocols\"\n        - \"Set 'Force Encryption' to 'Yes'\"\n        - \"Provide a valid TLS certificate\"\n        - \"Restart SQL Server\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.5\"\n        name: \"Ensure force encryption is enabled\"\n    tags: [\"network\", \"encryption\", \"tls\"]\n\n  - check_id: \"ms-surface-001\"\n    title: \"xp_cmdshell disabled\"\n    description: \"Ensures xp_cmdshell is disabled to prevent OS command execution from SQL\"\n    severity: \"CRITICAL\"\n    category: \"configuration\"\n    engine: \"mssql\"\n    source_type: \"sql\"\n    query: \"SELECT value_in_use FROM sys.configurations WHERE name = 'xp_cmdshell'\"\n    evaluation:\n      type: \"equals\"\n      field: \"value_in_use\"\n      expected: \"0\"\n    remediation:\n      summary: \"Disable xp_cmdshell\"\n      steps:\n        - \"EXEC sp_configure 'show advanced options', 1; RECONFIGURE\"\n        - \"EXEC sp_configure 'xp_cmdshell', 0; RECONFIGURE\"\n        - \"EXEC sp_configure 'show advanced options', 0; RECONFIGURE\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.6\"\n        name: \"Ensure xp_cmdshell is disabled\"\n    tags: [\"configuration\", \"xp_cmdshell\", \"attack-surface\"]\n\n  - check_id: \"ms-ports-001\"\n    title: \"SQL Server not listening on public interfaces\"\n    description: \"Ensures SQL Server port is not bound to 0.0.0.0 or public IPs\"\n    severity: \"HIGH\"\n    category: \"network\"\n    engine: \"mssql\"\n    source_type: \"pseudo\"\n    command:\n      type: \"agent:portCheck\"\n      port: 1433\n    evaluation:\n      type: \"not_publicly_listening\"\n      port: 1433\n    not_applicable_when:\n      - os_not_supported: \"no_socket_enumeration\"\n    remediation:\n      summary: \"Restrict SQL Server to private network interfaces\"\n      steps:\n        - \"Use SQL Server Configuration Manager to set specific IP addresses\"\n        - \"Disable 'Listen All' in TCP/IP properties\"\n        - \"Configure individual IP addresses to listen on\"\n        - \"Use firewall rules to restrict access to port 1433\"\n        - \"Restart SQL Server\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.7\"\n        name: \"Ensure SQL Server is not publicly accessible\"\n    tags: [\"network\", \"ports\", \"binding\"]\n\n  - check_id: \"ms-exposure-001\"\n    title: \"Database service is not publicly exposed\"\n    description: \"Detects if SQL Server is bound to non-loopback interfaces, exposing it beyond localhost\"\n    severity: \"CRITICAL\"\n    category: \"Network\"\n    engine: \"mssql\"\n    source_type: \"pseudo\"\n    command:\n      type: \"agent:exposureCheck\"\n      port: 1433\n    evaluation:\n      type: \"not_publicly_listening\"\n    not_applicable_when:\n      - query_error_contains: \"no_socket_enumeration\"\n    remediation:\n      summary: \"Bind SQL Server to specific private interfaces and restrict access with firewall rules\"\n      steps:\n        - \"Open SQL Server Configuration Manager\"\n        - \"Navigate to SQL Server Network Configuration \u003e Protocols \u003e TCP/IP Properties\"\n        - \"Disable 'Listen All' and configure specific IP addresses\"\n        - \"Set only private interface IPs to Active and assign port 1433\"\n        - \"Configure Windows Firewall to allow port 1433 only from authorized source IPs\"\n        - \"If using Always On AG, ensure AG listener and replica IPs are allowed\"\n        - \"Restart SQL Server to apply changes\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.8\"\n        name: \"Ensure database service is not publicly exposed\"\n    tags: [\"network\", \"exposure\", \"binding\"]\n",
    "mysql_checkset_v1.yaml": "checkset_id: \"mysql-security-v1\"\nengine: \"mysql\"\nname: \"MySQL Security Checks\"\ndescription: \"Comprehensive security checks for MySQL 8.0 databases based on CIS MySQL Benchmark\"\nversion: \"1.0.1\"\nbenchmark_reference: \"CIS MySQL Benchmark v1.0.0 (MySQL 8.0)\"\n\nchecks:\n  # ============================================================\n  # AUTHENTICATION (5 checks)\n  # ============================================================\n\n  - check_id: \"mysql-auth-001\"\n    title: \"No anonymous user accounts\"\n    description: \"Ensures mysql.user has no rows with an empty user name (anonymous accounts allow login without authentication).\"\n    severity: \"CRITICAL\"\n    category: \"authentication\"\n    engine: \"mysql\"\n    source_type: \"sql\"\n    query: \"SELECT COUNT(*) AS anonymous_count FROM mysql.user WHERE user=''\"\n    evaluation:\n      type: \"row_count_zero\"\n      field: \"anonymous_count\"\n      expected: \"0\"\n    not_applicable_when:\n      - query_error_contains: \"command denied\"\n      - query_error_contains: \"access denied\"\n    remediation:\n      summary: \"Drop every anonymous account\"\n      steps:\n        - \"Identify offenders: SELECT user, host FROM mysql.user WHERE user='';\"\n        - \"Drop each: DROP USER ''@'\u003chost\u003e';\"\n        - \"FLUSH PRIVILEGES;\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"5.1\"\n        name: \"Ensure 'default_password_lifetime' Is Less Than Or Equal To '90'\"\n    tags: [\"authentication\", \"users\", \"anonymous\"]\n\n  - check_id: \"mysql-auth-002\"\n    title: \"Root account is not accessible from any host\"\n    description: \"Ensures root@% does not exist — root should only be reachable from localhost to limit attack surface.\"\n    severity: \"HIGH\"\n    category: \"authentication\"\n    engine: \"mysql\"\n    source_type: \"sql\"\n    query: \"SELECT COUNT(*) AS remote_root_count FROM mysql.user WHERE user='root' AND host NOT IN ('localhost', '127.0.0.1', '::1')\"\n    evaluation:\n      type: \"row_count_zero\"\n      field: \"remote_root_count\"\n      expected: \"0\"\n    remediation:\n      summary: \"Restrict root to localhost\"\n      steps:\n        - \"List remote roots: SELECT user, host FROM mysql.user WHERE user='root';\"\n        - \"Drop non-localhost rows: DROP USER 'root'@'\u003chost\u003e';\"\n        - \"Create a named admin user for remote access instead of using root.\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"6.6\"\n        name: \"Ensure the root user can only access the server from localhost\"\n    tags: [\"authentication\", \"users\", \"root\"]\n\n  - check_id: \"mysql-auth-003\"\n    title: \"validate_password component is installed\"\n    description: \"Ensures the validate_password component is INSTALLED to enforce password complexity.\"\n    severity: \"MEDIUM\"\n    category: \"authentication\"\n    engine: \"mysql\"\n    source_type: \"sql\"\n    query: \"SELECT COUNT(*) AS installed FROM mysql.component WHERE component_urn='file://component_validate_password'\"\n    evaluation:\n      type: \"row_count_nonzero\"\n      field: \"installed\"\n      expected: \"\u003e=1\"\n    not_applicable_when:\n      - query_error_contains: \"doesn't exist\"\n    remediation:\n      summary: \"Install validate_password component\"\n      steps:\n        - \"INSTALL COMPONENT 'file://component_validate_password';\"\n        - \"Set policy: SET PERSIST validate_password.policy=STRONG;\"\n        - \"Set min length: SET PERSIST validate_password.length=14;\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"7.1\"\n        name: \"Ensure 'validate_password' Component Is Installed\"\n    tags: [\"authentication\", \"password\", \"policy\"]\n\n  - check_id: \"mysql-auth-004\"\n    title: \"Strong password policy enforced\"\n    description: \"Ensures validate_password.policy is STRONG (mixed case + digits + special chars + dictionary).\"\n    severity: \"MEDIUM\"\n    category: \"authentication\"\n    engine: \"mysql\"\n    source_type: \"sql\"\n    query: \"SHOW VARIABLES LIKE 'validate_password.policy'\"\n    evaluation:\n      type: \"equals\"\n      field: \"Value\"\n      expected: \"STRONG\"\n    not_applicable_when:\n      - query_error_contains: \"doesn't exist\"\n    remediation:\n      summary: \"Raise policy to STRONG\"\n      steps:\n        - \"SET PERSIST validate_password.policy=STRONG;\"\n        - \"Existing users keep their passwords — only NEW passwords face the new policy.\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"7.3\"\n        name: \"Ensure 'validate_password.policy' Is 'STRONG'\"\n    tags: [\"authentication\", \"password\", \"policy\"]\n\n  - check_id: \"mysql-auth-005\"\n    title: \"Password lifetime \u003c= 90 days\"\n    description: \"Ensures default_password_lifetime is set so passwords expire periodically.\"\n    severity: \"LOW\"\n    category: \"authentication\"\n    engine: \"mysql\"\n    source_type: \"sql\"\n    query: \"SHOW VARIABLES LIKE 'default_password_lifetime'\"\n    evaluation:\n      type: \"lte\"\n      field: \"Value\"\n      expected: \"90\"\n      min: \"1\"  # 0 = passwords never expire\n    remediation:\n      summary: \"Set default_password_lifetime to 90 (or lower)\"\n      steps:\n        - \"SET PERSIST default_password_lifetime=90;\"\n        - \"Or set per-account: ALTER USER 'u'@'host' PASSWORD EXPIRE INTERVAL 90 DAY;\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"5.1\"\n        name: \"Ensure default_password_lifetime is configured\"\n    tags: [\"authentication\", \"password\", \"expiry\"]\n\n  # ============================================================\n  # NETWORK / TRANSPORT SECURITY (3 checks)\n  # ============================================================\n\n  - check_id: \"mysql-ssl-001\"\n    title: \"SSL/TLS connections enabled\"\n    description: \"Ensures have_ssl is YES so clients can connect over TLS.\"\n    severity: \"CRITICAL\"\n    category: \"network\"\n    engine: \"mysql\"\n    source_type: \"sql\"\n    query: \"SHOW VARIABLES LIKE 'have_ssl'\"\n    evaluation:\n      type: \"equals\"\n      field: \"Value\"\n      expected: \"YES\"\n    remediation:\n      summary: \"Enable SSL/TLS\"\n      steps:\n        - \"Generate certs: mysql_ssl_rsa_setup --datadir=/var/lib/mysql\"\n        - \"Restart mysqld — have_ssl will flip to YES once certs are in place.\"\n        - \"Verify: mysql -h\u003chost\u003e --ssl-mode=REQUIRED -e 'STATUS;'\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"7.2\"\n        name: \"Ensure 'have_ssl' Is Set To 'YES'\"\n    tags: [\"network\", \"tls\", \"encryption\"]\n\n  - check_id: \"mysql-ssl-002\"\n    title: \"require_secure_transport forces SSL on all connections\"\n    description: \"Ensures require_secure_transport=ON so non-SSL connections are rejected at the server.\"\n    severity: \"HIGH\"\n    category: \"network\"\n    engine: \"mysql\"\n    source_type: \"sql\"\n    query: \"SHOW VARIABLES LIKE 'require_secure_transport'\"\n    evaluation:\n      type: \"equals\"\n      field: \"Value\"\n      expected: \"ON\"\n    remediation:\n      summary: \"Force secure transport\"\n      steps:\n        - \"SET PERSIST require_secure_transport=ON;\"\n        - \"WARNING: any client without SSL configured will lose connectivity.\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"7.6\"\n        name: \"Ensure 'require_secure_transport' Is Set To 'ON'\"\n    tags: [\"network\", \"tls\", \"enforcement\"]\n\n  - check_id: \"mysql-net-001\"\n    title: \"skip_name_resolve is enabled\"\n    description: \"Ensures skip_name_resolve=ON so MySQL uses IP-based ACLs (avoids DNS dependency + DNS-rebinding attacks).\"\n    severity: \"LOW\"\n    category: \"network\"\n    engine: \"mysql\"\n    source_type: \"sql\"\n    query: \"SHOW VARIABLES LIKE 'skip_name_resolve'\"\n    evaluation:\n      type: \"equals\"\n      field: \"Value\"\n      expected: \"ON\"\n    remediation:\n      summary: \"Disable DNS resolution\"\n      steps:\n        - \"Add `skip-name-resolve` under [mysqld] in my.cnf.\"\n        - \"Restart mysqld.\"\n        - \"Audit ACLs: replace hostnames with IPs in mysql.user.host.\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"6.2\"\n        name: \"Ensure 'skip-name-resolve' Is Set To 'ON'\"\n    tags: [\"network\", \"dns\", \"performance\"]\n\n  # ============================================================\n  # CONFIGURATION HARDENING (5 checks)\n  # ============================================================\n\n  - check_id: \"mysql-cfg-001\"\n    title: \"Test database removed\"\n    description: \"Ensures the default `test` database does not exist (often grants ANY user write access).\"\n    severity: \"MEDIUM\"\n    category: \"configuration\"\n    engine: \"mysql\"\n    source_type: \"sql\"\n    query: \"SELECT COUNT(*) AS test_count FROM information_schema.schemata WHERE schema_name='test'\"\n    evaluation:\n      type: \"row_count_zero\"\n      field: \"test_count\"\n      expected: \"0\"\n    remediation:\n      summary: \"Drop the test database\"\n      steps:\n        - \"DROP DATABASE IF EXISTS test;\"\n        - \"DELETE FROM mysql.db WHERE db='test' OR db='test\\\\\\\\_%';\"\n        - \"FLUSH PRIVILEGES;\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"6.4\"\n        name: \"Ensure 'test' Database Is Not Installed\"\n    tags: [\"configuration\", \"default-objects\"]\n\n  - check_id: \"mysql-cfg-002\"\n    title: \"secure_file_priv restricted to a specific directory\"\n    description: \"Ensures secure_file_priv is set to a non-empty path so LOAD DATA / SELECT INTO OUTFILE are sandboxed.\"\n    severity: \"HIGH\"\n    category: \"configuration\"\n    engine: \"mysql\"\n    source_type: \"sql\"\n    query: \"SHOW VARIABLES LIKE 'secure_file_priv'\"\n    evaluation:\n      type: \"not_empty\"\n      field: \"Value\"\n      expected: \"non-empty\"\n    remediation:\n      summary: \"Sandbox file I/O\"\n      steps:\n        - \"Add to my.cnf [mysqld]: secure_file_priv=/var/lib/mysql-files/\"\n        - \"Restart mysqld.\"\n        - \"Empty string allows reads from anywhere the mysqld process can reach; NULL disables file I/O entirely (most restrictive).\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"6.5\"\n        name: \"Ensure 'secure_file_priv' Is Not Empty\"\n    tags: [\"configuration\", \"file-access\", \"loadable-extension\"]\n\n  - check_id: \"mysql-cfg-003\"\n    title: \"local_infile is disabled\"\n    description: \"Ensures LOCAL INFILE statements are disabled at the server level — they let clients exfiltrate files when combined with a malicious server.\"\n    severity: \"MEDIUM\"\n    category: \"configuration\"\n    engine: \"mysql\"\n    source_type: \"sql\"\n    query: \"SHOW VARIABLES LIKE 'local_infile'\"\n    evaluation:\n      type: \"equals\"\n      field: \"Value\"\n      expected: \"OFF\"\n    remediation:\n      summary: \"Disable LOCAL INFILE\"\n      steps:\n        - \"SET PERSIST local_infile=OFF;\"\n        - \"Or in my.cnf [mysqld]: local-infile=0 and restart.\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"7.5\"\n        name: \"Ensure local_infile Is Disabled\"\n    tags: [\"configuration\", \"loadable-extension\"]\n\n  - check_id: \"mysql-cfg-004\"\n    title: \"super_read_only enabled on replicas\"\n    description: \"Ensures replicas have super_read_only=ON to prevent split-brain from accidental writes.\"\n    severity: \"HIGH\"\n    category: \"configuration\"\n    engine: \"mysql\"\n    source_type: \"sql\"\n    query: |\n      SELECT\n        @@super_read_only AS srro,\n        (SELECT COUNT(*) FROM performance_schema.replication_connection_status) AS is_replica\n    evaluation:\n      type: \"custom_replica_readonly\"\n      field: \"srro\"\n      expected: \"ON if is_replica \u003e 0\"\n    not_applicable_when:\n      - query_error_contains: \"doesn't exist\"\n    remediation:\n      summary: \"Force read-only on replicas\"\n      steps:\n        - \"SET PERSIST super_read_only=ON; (effective immediately)\"\n        - \"Verify application traffic doesn't write to replicas — proxysql / app pool should route writes to primary only.\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"9.3\"\n        name: \"Ensure 'super_read_only' is Enabled on Replicas\"\n    tags: [\"configuration\", \"replication\", \"read-only\"]\n\n  - check_id: \"mysql-cfg-005\"\n    title: \"performance_schema is enabled\"\n    description: \"Ensures performance_schema=ON so the agent can collect query digest, lock waits, replication applier breakdown, and index usage.\"\n    severity: \"LOW\"\n    category: \"configuration\"\n    engine: \"mysql\"\n    source_type: \"sql\"\n    query: \"SHOW VARIABLES LIKE 'performance_schema'\"\n    evaluation:\n      type: \"equals\"\n      field: \"Value\"\n      expected: \"ON\"\n    remediation:\n      summary: \"Enable performance_schema\"\n      steps:\n        - \"Add to my.cnf [mysqld]: performance_schema=ON\"\n        - \"Restart mysqld.\"\n        - \"Confirms the agent can read query digests, locks, and replication applier worker status.\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"10.1\"\n        name: \"Ensure performance_schema is enabled for observability\"\n    tags: [\"configuration\", \"observability\"]\n\n  # ============================================================\n  # AUDITING / LOGGING (3 checks)\n  # ============================================================\n\n  - check_id: \"mysql-log-001\"\n    title: \"Error log is configured\"\n    description: \"Ensures log_error points to a file so failed authentication and crashes are persisted.\"\n    severity: \"MEDIUM\"\n    category: \"logging\"\n    engine: \"mysql\"\n    source_type: \"sql\"\n    query: \"SHOW VARIABLES LIKE 'log_error'\"\n    evaluation:\n      type: \"not_empty\"\n      field: \"Value\"\n      expected: \"non-empty path\"\n    remediation:\n      summary: \"Set log_error to a writable path\"\n      steps:\n        - \"Add to my.cnf [mysqld]: log_error=/var/log/mysql/error.log\"\n        - \"chown mysql:mysql /var/log/mysql/error.log\"\n        - \"Restart mysqld.\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"4.2\"\n        name: \"Ensure 'log_error' Is Not Empty\"\n    tags: [\"logging\", \"audit\"]\n\n  - check_id: \"mysql-log-002\"\n    title: \"Log error verbosity captures warnings\"\n    description: \"Ensures log_error_verbosity \u003e= 2 so warnings (not just errors) are recorded.\"\n    severity: \"LOW\"\n    category: \"logging\"\n    engine: \"mysql\"\n    source_type: \"sql\"\n    query: \"SHOW VARIABLES LIKE 'log_error_verbosity'\"\n    evaluation:\n      type: \"gte\"\n      field: \"Value\"\n      expected: \"2\"\n    remediation:\n      summary: \"Raise verbosity to capture warnings\"\n      steps:\n        - \"SET PERSIST log_error_verbosity=2;\"\n        - \"Verbosity 3 also includes Notes (useful during incident response).\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"4.4\"\n        name: \"Ensure 'log_error_verbosity' Is Set To '2' or Greater\"\n    tags: [\"logging\", \"audit\"]\n\n  - check_id: \"mysql-log-003\"\n    title: \"audit_log plugin is active\"\n    description: \"Ensures audit_log plugin is loaded and active (MySQL Enterprise / Percona Audit Plugin) — required for SOC2 / PCI-DSS audit trails.\"\n    severity: \"MEDIUM\"\n    category: \"logging\"\n    engine: \"mysql\"\n    source_type: \"sql\"\n    query: \"SELECT COUNT(*) AS active FROM information_schema.plugins WHERE plugin_name='audit_log' AND plugin_status='ACTIVE'\"\n    evaluation:\n      type: \"row_count_nonzero\"\n      field: \"active\"\n      expected: \"\u003e=1\"\n    not_applicable_when:\n      - query_error_contains: \"doesn't exist\"\n    remediation:\n      summary: \"Install + enable audit_log\"\n      steps:\n        - \"MySQL Community: install Percona Audit Plugin (free): INSTALL PLUGIN audit_log SONAME 'audit_log.so';\"\n        - \"Configure: SET PERSIST audit_log_format='JSON'; SET PERSIST audit_log_strategy='ASYNCHRONOUS';\"\n        - \"MySQL Enterprise: ships with audit_log built-in — just enable.\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"8.1\"\n        name: \"Ensure audit_log Plugin Is Active\"\n    tags: [\"logging\", \"audit\", \"compliance\"]\n\n  # ============================================================\n  # PRIVILEGE HARDENING (2 checks)\n  # ============================================================\n\n  - check_id: \"mysql-priv-001\"\n    title: \"Non-administrative users do not have SUPER privilege\"\n    description: \"Ensures only intended admin accounts hold the SUPER privilege (or its 8.0+ dynamic equivalent SYSTEM_VARIABLES_ADMIN).\"\n    severity: \"HIGH\"\n    category: \"privileges\"\n    engine: \"mysql\"\n    source_type: \"sql\"\n    query: \"SELECT COUNT(*) AS super_users FROM mysql.user WHERE Super_priv='Y' AND user NOT IN ('root', 'mysql.session', 'mysql.infoschema', 'mysql.sys')\"\n    evaluation:\n      type: \"row_count_zero\"\n      field: \"super_users\"\n      expected: \"0\"\n    remediation:\n      summary: \"Revoke SUPER from non-admin accounts\"\n      steps:\n        - \"List offenders: SELECT user, host FROM mysql.user WHERE Super_priv='Y';\"\n        - \"Revoke: REVOKE SUPER ON *.* FROM '\u003cuser\u003e'@'\u003chost\u003e';\"\n        - \"For 8.0+, prefer dynamic privileges: GRANT SYSTEM_VARIABLES_ADMIN ON *.* TO ...;\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"9.1\"\n        name: \"Ensure SUPER Privilege Is Restricted\"\n    tags: [\"privileges\", \"least-privilege\"]\n\n  - check_id: \"mysql-priv-002\"\n    title: \"FILE privilege is restricted to admins\"\n    description: \"Ensures FILE is not granted to application accounts — it allows SELECT INTO OUTFILE / LOAD DATA INFILE.\"\n    severity: \"HIGH\"\n    category: \"privileges\"\n    engine: \"mysql\"\n    source_type: \"sql\"\n    query: \"SELECT COUNT(*) AS file_users FROM mysql.user WHERE File_priv='Y' AND user NOT IN ('root', 'mysql.session', 'mysql.infoschema', 'mysql.sys')\"\n    evaluation:\n      type: \"row_count_zero\"\n      field: \"file_users\"\n      expected: \"0\"\n    remediation:\n      summary: \"Revoke FILE from non-admin accounts\"\n      steps:\n        - \"List offenders: SELECT user, host FROM mysql.user WHERE File_priv='Y';\"\n        - \"Revoke: REVOKE FILE ON *.* FROM '\u003cuser\u003e'@'\u003chost\u003e';\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"9.2\"\n        name: \"Ensure FILE Privilege Is Restricted\"\n    tags: [\"privileges\", \"least-privilege\", \"file-access\"]\n",
    "oracle_checkset_v1.yaml": "checkset_id: \"oracle-security-v1\"\nengine: \"oracle\"\nname: \"Oracle Database Security Checks\"\ndescription: \"Read-only security checks for Oracle databases. License-safe — no AWR, ASH, DBA_HIST, or Diagnostics Pack views. Initial pack uses only V$PARAMETER / V$DATABASE / V$INSTANCE / V$VERSION grants the standard monitor user already has; broader privilege/profile/audit checks ship in v1.1 and require additional grants on DBA_USERS / DBA_PROFILES / DBA_SYS_PRIVS.\"\nversion: \"1.0.1\"\nbenchmark_reference: \"CIS Oracle Database Benchmark v3.0.0 + Oracle Database Security Guide\"\n\nchecks:\n\n  # =====================================================================\n  # AUDITING\n  # =====================================================================\n\n  - check_id: \"oracle-audit-001\"\n    title: \"Audit trail is enabled\"\n    description: \"audit_trail must be set to a value other than NONE so the database captures audit events. Compliance frameworks (SOX, PCI-DSS, HIPAA) typically require some level of audit capture.\"\n    severity: \"MEDIUM\"\n    category: \"audit\"\n    engine: \"oracle\"\n    source_type: \"sql\"\n    query: \"SELECT UPPER(value) AS audit_trail FROM v$parameter WHERE name = 'audit_trail'\"\n    evaluation:\n      type: \"not_equals\"\n      field: \"AUDIT_TRAIL\"\n      expected: \"NONE\"\n    remediation:\n      summary: \"Enable database auditing (requires restart)\"\n      steps:\n        - \"ALTER SYSTEM SET audit_trail = 'DB' SCOPE=SPFILE;\"\n        - \"Plan a maintenance window — audit_trail is a static parameter.\"\n        - \"SHUTDOWN IMMEDIATE; STARTUP;\"\n        - \"Verify: SELECT value FROM v$parameter WHERE name = 'audit_trail';\"\n        - \"On 12c+, prefer unified auditing for finer-grained policies (DBMS_AUDIT_MGMT).\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"2.2.1\"\n        name: \"Ensure 'audit_trail' is set to 'DB' or higher\"\n      - framework: \"PCI-DSS\"\n        id: \"10.2\"\n        name: \"Implement automated audit trails\"\n    tags: [\"audit\", \"compliance\", \"configuration\"]\n\n  - check_id: \"oracle-audit-002\"\n    title: \"audit_sys_operations is enabled\"\n    description: \"audit_sys_operations=TRUE causes connections AS SYSDBA / SYSOPER to be audited to the OS audit trail. Required for forensic accountability of privileged sessions.\"\n    severity: \"MEDIUM\"\n    category: \"audit\"\n    engine: \"oracle\"\n    source_type: \"sql\"\n    query: \"SELECT UPPER(value) AS audit_sys_operations FROM v$parameter WHERE name = 'audit_sys_operations'\"\n    evaluation:\n      type: \"equals\"\n      field: \"AUDIT_SYS_OPERATIONS\"\n      expected: \"TRUE\"\n    remediation:\n      summary: \"Enable SYS-operation auditing (requires restart)\"\n      steps:\n        - \"ALTER SYSTEM SET audit_sys_operations = TRUE SCOPE=SPFILE;\"\n        - \"Plan a maintenance window.\"\n        - \"SHUTDOWN IMMEDIATE; STARTUP;\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"2.2.2\"\n        name: \"Ensure 'audit_sys_operations' is set to 'TRUE'\"\n    tags: [\"audit\", \"sysdba\", \"compliance\"]\n\n  # =====================================================================\n  # NETWORK / CONNECTION\n  # =====================================================================\n\n  - check_id: \"oracle-net-001\"\n    title: \"remote_login_passwordfile restricts SYSDBA logins\"\n    description: \"remote_login_passwordfile=NONE disables remote SYSDBA logins entirely. EXCLUSIVE limits to a single instance. SHARED is the most permissive and least desirable on production.\"\n    severity: \"HIGH\"\n    category: \"network\"\n    engine: \"oracle\"\n    source_type: \"sql\"\n    query: \"SELECT UPPER(value) AS remote_login_passwordfile FROM v$parameter WHERE name = 'remote_login_passwordfile'\"\n    evaluation:\n      type: \"in\"\n      field: \"REMOTE_LOGIN_PASSWORDFILE\"\n      expected: [\"NONE\", \"EXCLUSIVE\"]\n    remediation:\n      summary: \"Restrict remote_login_passwordfile to NONE or EXCLUSIVE\"\n      steps:\n        - \"ALTER SYSTEM SET remote_login_passwordfile = 'EXCLUSIVE' SCOPE=SPFILE;\"\n        - \"Plan a restart — static parameter.\"\n        - \"SHUTDOWN IMMEDIATE; STARTUP;\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.1\"\n        name: \"Ensure remote_login_passwordfile is restricted\"\n    tags: [\"network\", \"authentication\", \"sysdba\"]\n\n  - check_id: \"oracle-net-002\"\n    title: \"remote_os_authent is disabled\"\n    description: \"remote_os_authent=TRUE allows OS authentication from remote clients, bypassing database authentication. Trust is shifted to the client OS — a known weak point. CIS requires it be disabled. The parameter was removed in Oracle 23ai (effectively hard-coded to FALSE); the NVL wrapper treats that as a PASS.\"\n    severity: \"HIGH\"\n    category: \"network\"\n    engine: \"oracle\"\n    source_type: \"sql\"\n    query: \"SELECT NVL((SELECT UPPER(value) FROM v$parameter WHERE name = 'remote_os_authent'), 'FALSE') AS remote_os_authent FROM dual\"\n    evaluation:\n      type: \"equals\"\n      field: \"REMOTE_OS_AUTHENT\"\n      expected: \"FALSE\"\n    not_applicable_when:\n      - query_error_contains: \"ORA-00942\"\n    remediation:\n      summary: \"Disable remote OS authentication\"\n      steps:\n        - \"ALTER SYSTEM SET remote_os_authent = FALSE SCOPE=SPFILE;\"\n        - \"Plan a restart — static parameter.\"\n        - \"SHUTDOWN IMMEDIATE; STARTUP;\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.2\"\n        name: \"Ensure remote_os_authent is set to FALSE\"\n    tags: [\"network\", \"authentication\", \"os\"]\n\n  - check_id: \"oracle-net-003\"\n    title: \"remote_os_roles is disabled\"\n    description: \"remote_os_roles=TRUE allows OS-defined roles to be enabled by remote clients. Same trust-boundary problem as remote_os_authent — CIS requires it be disabled.\"\n    severity: \"MEDIUM\"\n    category: \"network\"\n    engine: \"oracle\"\n    source_type: \"sql\"\n    query: \"SELECT UPPER(value) AS remote_os_roles FROM v$parameter WHERE name = 'remote_os_roles'\"\n    evaluation:\n      type: \"equals\"\n      field: \"REMOTE_OS_ROLES\"\n      expected: \"FALSE\"\n    not_applicable_when:\n      - query_error_contains: \"ORA-00942\"\n    remediation:\n      summary: \"Disable remote OS roles\"\n      steps:\n        - \"ALTER SYSTEM SET remote_os_roles = FALSE SCOPE=SPFILE;\"\n        - \"Plan a restart — static parameter.\"\n        - \"SHUTDOWN IMMEDIATE; STARTUP;\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.3\"\n        name: \"Ensure remote_os_roles is set to FALSE\"\n    tags: [\"network\", \"roles\", \"os\"]\n\n  # =====================================================================\n  # CONFIGURATION HARDENING\n  # =====================================================================\n\n  - check_id: \"oracle-config-001\"\n    title: \"o7_dictionary_accessibility is disabled\"\n    description: \"o7_dictionary_accessibility=TRUE re-enables Oracle 7-era dictionary access for the SYSTEM role and any user with SELECT ANY DICTIONARY. Modern Oracle defaults to FALSE — leaving it TRUE widens the privilege blast radius significantly. The parameter was removed in Oracle 23ai (effectively hard-coded to FALSE); the NVL wrapper treats that as a PASS.\"\n    severity: \"HIGH\"\n    category: \"configuration\"\n    engine: \"oracle\"\n    source_type: \"sql\"\n    query: \"SELECT NVL((SELECT UPPER(value) FROM v$parameter WHERE name = 'o7_dictionary_accessibility'), 'FALSE') AS o7_dictionary_accessibility FROM dual\"\n    evaluation:\n      type: \"equals\"\n      field: \"O7_DICTIONARY_ACCESSIBILITY\"\n      expected: \"FALSE\"\n    not_applicable_when:\n      - query_error_contains: \"ORA-00942\"\n    remediation:\n      summary: \"Disable Oracle 7 dictionary accessibility\"\n      steps:\n        - \"ALTER SYSTEM SET o7_dictionary_accessibility = FALSE SCOPE=SPFILE;\"\n        - \"Plan a restart — static parameter.\"\n        - \"SHUTDOWN IMMEDIATE; STARTUP;\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"2.3\"\n        name: \"Ensure o7_dictionary_accessibility is set to FALSE\"\n    tags: [\"dictionary\", \"privileges\", \"hardening\"]\n\n  - check_id: \"oracle-config-002\"\n    title: \"global_names is enabled\"\n    description: \"global_names=TRUE enforces that database link names match the remote database's global_name, preventing inadvertent or malicious cross-database links from resolving to the wrong target.\"\n    severity: \"MEDIUM\"\n    category: \"configuration\"\n    engine: \"oracle\"\n    source_type: \"sql\"\n    query: \"SELECT UPPER(value) AS global_names FROM v$parameter WHERE name = 'global_names'\"\n    evaluation:\n      type: \"equals\"\n      field: \"GLOBAL_NAMES\"\n      expected: \"TRUE\"\n    remediation:\n      summary: \"Enable global_names to enforce DB link naming\"\n      steps:\n        - \"ALTER SYSTEM SET global_names = TRUE SCOPE=BOTH;\"\n        - \"No restart required — dynamic parameter.\"\n        - \"Review existing DB links: SELECT * FROM dba_db_links;\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"2.4\"\n        name: \"Ensure global_names is set to TRUE\"\n    tags: [\"dblink\", \"naming\", \"configuration\"]\n\n  - check_id: \"oracle-config-003\"\n    title: \"sec_max_failed_login_attempts is set\"\n    description: \"sec_max_failed_login_attempts limits the number of failed authentication attempts on a connection before the listener drops it. CIS recommends ≤ 3.\"\n    severity: \"MEDIUM\"\n    category: \"configuration\"\n    engine: \"oracle\"\n    source_type: \"sql\"\n    query: \"SELECT TO_NUMBER(value) AS sec_max_failed_login_attempts FROM v$parameter WHERE name = 'sec_max_failed_login_attempts'\"\n    evaluation:\n      type: \"row_count_lte\"\n      field: \"SEC_MAX_FAILED_LOGIN_ATTEMPTS\"\n      expected: \"3\"\n    not_applicable_when:\n      - query_error_contains: \"ORA-00942\"\n    remediation:\n      summary: \"Limit per-connection failed login attempts\"\n      steps:\n        - \"ALTER SYSTEM SET sec_max_failed_login_attempts = 3 SCOPE=SPFILE;\"\n        - \"Plan a restart — static parameter.\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"2.5\"\n        name: \"Ensure sec_max_failed_login_attempts is set to 3 or less\"\n    tags: [\"authentication\", \"brute-force\", \"listener\"]\n\n  # =====================================================================\n  # AVAILABILITY / RECOVERY\n  # =====================================================================\n\n  - check_id: \"oracle-recovery-001\"\n    title: \"Database is in ARCHIVELOG mode\"\n    description: \"ARCHIVELOG mode is required for point-in-time recovery, online backups, and Data Guard. NOARCHIVELOG bounds the recovery window to the last full backup.\"\n    severity: \"HIGH\"\n    category: \"recovery\"\n    engine: \"oracle\"\n    source_type: \"sql\"\n    query: \"SELECT UPPER(log_mode) AS log_mode FROM v$database\"\n    evaluation:\n      type: \"equals\"\n      field: \"LOG_MODE\"\n      expected: \"ARCHIVELOG\"\n    remediation:\n      summary: \"Switch to ARCHIVELOG mode (maintenance window required)\"\n      steps:\n        - \"Configure FRA / archive destinations BEFORE the switch (LOG_ARCHIVE_DEST_n).\"\n        - \"SHUTDOWN IMMEDIATE; STARTUP MOUNT;\"\n        - \"ALTER DATABASE ARCHIVELOG;\"\n        - \"ALTER DATABASE OPEN;\"\n        - \"Verify: ARCHIVE LOG LIST;\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"5.1\"\n        name: \"Ensure database is in ARCHIVELOG mode\"\n      - framework: \"SOX\"\n        id: \"ITGC-DB-04\"\n        name: \"Recoverability of financial data\"\n    tags: [\"recovery\", \"archivelog\", \"rpo\"]\n\n  # =====================================================================\n  # IDENTITY / VERSION\n  # =====================================================================\n\n  - check_id: \"oracle-version-001\"\n    title: \"Oracle is running a supported major version\"\n    description: \"Versions older than 19c are out of premier support. Running an unsupported version leaves known CVEs unpatched. The query returns rows only when the major version is below 19, so an empty result set is the PASS state and any returned row is a FAIL with the offending version captured in the evidence.\"\n    severity: \"HIGH\"\n    category: \"patching\"\n    engine: \"oracle\"\n    source_type: \"sql\"\n    query: \"SELECT TO_NUMBER(REGEXP_SUBSTR(version, '^[0-9]+')) AS major_version, version AS full_version FROM v$instance WHERE TO_NUMBER(REGEXP_SUBSTR(version, '^[0-9]+')) \u003c 19\"\n    evaluation:\n      type: \"row_count_zero\"\n      field: \"MAJOR_VERSION\"\n      expected: \"0\"\n    fallback:\n      type: \"manual_review\"\n      reason: \"Compare reported version against Oracle's lifetime support policy\"\n    remediation:\n      summary: \"Upgrade to a supported major version (≥ 19c)\"\n      steps:\n        - \"Review Oracle's Lifetime Support Policy and pick a target release.\"\n        - \"Plan an upgrade window — full restart required.\"\n        - \"Test on a non-production environment first.\"\n        - \"Apply the latest Release Update (RU) before the upgrade.\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"1.1\"\n        name: \"Ensure the Oracle version is currently supported\"\n    tags: [\"patching\", \"lifecycle\", \"version\"]\n",
    "pg_checkset_v1.yaml": "checkset_id: \"pg-security-v1\"\nengine: \"postgresql\"\nname: \"PostgreSQL Security Checks\"\ndescription: \"Comprehensive security checks for PostgreSQL databases based on CIS benchmarks\"\nversion: \"1.1.0\"\nbenchmark_reference: \"CIS PostgreSQL Benchmark v1.0.0\"\n\nchecks:\n  - check_id: \"pg-auth-001\"\n    title: \"Password encryption method uses scram-sha-256\"\n    description: \"Ensures password_encryption is set to scram-sha-256 for strongest hashing\"\n    severity: \"HIGH\"\n    category: \"authentication\"\n    engine: \"postgresql\"\n    source_type: \"sql\"\n    query: \"SHOW password_encryption\"\n    evaluation:\n      type: \"equals\"\n      field: \"password_encryption\"\n      expected: \"scram-sha-256\"\n    remediation:\n      summary: \"Set password_encryption to scram-sha-256 in postgresql.conf\"\n      steps:\n        - \"Edit postgresql.conf: password_encryption = 'scram-sha-256'\"\n        - \"Reload PostgreSQL: SELECT pg_reload_conf()\"\n        - \"Re-create existing user passwords to use the new hash method\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.2\"\n        name: \"Ensure password_encryption is correctly configured\"\n    tags: [\"authentication\", \"password\", \"encryption\"]\n\n  - check_id: \"pg-auth-002\"\n    title: \"MD5 authentication not used in pg_hba.conf\"\n    description: \"Ensures pg_hba.conf does not allow md5 authentication method, preferring scram-sha-256\"\n    severity: \"HIGH\"\n    category: \"authentication\"\n    engine: \"postgresql\"\n    source_type: \"sql\"\n    query: \"SELECT count(*) as md5_count FROM pg_hba_file_rules WHERE auth_method = 'md5' AND type != 'local'\"\n    evaluation:\n      type: \"row_count_zero\"\n      field: \"md5_count\"\n      expected: \"0\"\n    fallback:\n      type: \"file_read\"\n      path_query: \"SHOW hba_file\"\n      parse_strategy: \"hba_auth_method\"\n      match_value: \"md5\"\n    not_applicable_when:\n      - query_error_contains: \"does not exist\"\n      - query_error_contains: \"permission denied\"\n    remediation:\n      summary: \"Replace md5 with scram-sha-256 in pg_hba.conf\"\n      steps:\n        - \"Edit pg_hba.conf: replace 'md5' with 'scram-sha-256' for all entries\"\n        - \"Reload PostgreSQL: SELECT pg_reload_conf()\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.3\"\n        name: \"Ensure md5 authentication is not used\"\n    tags: [\"authentication\", \"hba\", \"md5\"]\n\n  - check_id: \"pg-ssl-001\"\n    title: \"SSL/TLS connections enabled\"\n    description: \"Ensures SSL is enabled to encrypt client-server traffic\"\n    severity: \"CRITICAL\"\n    category: \"network\"\n    engine: \"postgresql\"\n    source_type: \"sql\"\n    query: \"SHOW ssl\"\n    evaluation:\n      type: \"equals\"\n      field: \"ssl\"\n      expected: \"on\"\n    remediation:\n      summary: \"Enable SSL in postgresql.conf\"\n      steps:\n        - \"Set ssl = on in postgresql.conf\"\n        - \"Place server.crt and server.key in data directory\"\n        - \"Restart PostgreSQL\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"6.7\"\n        name: \"Ensure SSL is enabled and configured correctly\"\n    tags: [\"network\", \"encryption\", \"tls\"]\n\n  - check_id: \"pg-hba-001\"\n    title: \"No trust authentication in pg_hba.conf\"\n    description: \"Ensures no HBA entry uses trust authentication which allows passwordless access\"\n    severity: \"CRITICAL\"\n    category: \"authentication\"\n    engine: \"postgresql\"\n    source_type: \"sql\"\n    query: \"SELECT count(*) as trust_count FROM pg_hba_file_rules WHERE auth_method = 'trust' AND type != 'local'\"\n    evaluation:\n      type: \"row_count_zero\"\n      field: \"trust_count\"\n      expected: \"0\"\n    fallback:\n      type: \"file_read\"\n      path_query: \"SHOW hba_file\"\n      parse_strategy: \"hba_auth_method\"\n      match_value: \"trust\"\n    not_applicable_when:\n      - query_error_contains: \"does not exist\"\n      - query_error_contains: \"permission denied\"\n    remediation:\n      summary: \"Remove trust authentication from pg_hba.conf\"\n      steps:\n        - \"Edit pg_hba.conf: replace 'trust' with 'scram-sha-256' for all remote entries\"\n        - \"Keep trust only for local socket if needed for maintenance\"\n        - \"Reload PostgreSQL: SELECT pg_reload_conf()\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.1\"\n        name: \"Ensure trust authentication is not used for remote connections\"\n    tags: [\"authentication\", \"hba\", \"trust\"]\n\n  - check_id: \"pg-hba-002\"\n    title: \"No password (cleartext) authentication in pg_hba.conf\"\n    description: \"Ensures no HBA entry uses password authentication which sends credentials in cleartext\"\n    severity: \"HIGH\"\n    category: \"authentication\"\n    engine: \"postgresql\"\n    source_type: \"sql\"\n    query: \"SELECT count(*) as password_count FROM pg_hba_file_rules WHERE auth_method = 'password'\"\n    evaluation:\n      type: \"row_count_zero\"\n      field: \"password_count\"\n      expected: \"0\"\n    fallback:\n      type: \"file_read\"\n      path_query: \"SHOW hba_file\"\n      parse_strategy: \"hba_auth_method\"\n      match_value: \"password\"\n    not_applicable_when:\n      - query_error_contains: \"does not exist\"\n      - query_error_contains: \"permission denied\"\n    remediation:\n      summary: \"Remove cleartext password authentication from pg_hba.conf\"\n      steps:\n        - \"Edit pg_hba.conf: replace 'password' with 'scram-sha-256'\"\n        - \"Reload PostgreSQL: SELECT pg_reload_conf()\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.4\"\n        name: \"Ensure password authentication is not used\"\n    tags: [\"authentication\", \"hba\", \"cleartext\"]\n\n  - check_id: \"pg-log-001\"\n    title: \"Logging of connections enabled\"\n    description: \"Ensures all connection attempts are logged for audit trail\"\n    severity: \"MEDIUM\"\n    category: \"logging\"\n    engine: \"postgresql\"\n    source_type: \"sql\"\n    query: \"SHOW log_connections\"\n    evaluation:\n      type: \"equals\"\n      field: \"log_connections\"\n      expected: \"on\"\n    remediation:\n      summary: \"Enable connection logging in postgresql.conf\"\n      steps:\n        - \"Set log_connections = on in postgresql.conf\"\n        - \"Reload PostgreSQL: SELECT pg_reload_conf()\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"4.1\"\n        name: \"Ensure log_connections is enabled\"\n    tags: [\"logging\", \"audit\", \"connections\"]\n\n  - check_id: \"pg-log-002\"\n    title: \"Logging of disconnections enabled\"\n    description: \"Ensures all disconnection events are logged for session tracking\"\n    severity: \"MEDIUM\"\n    category: \"logging\"\n    engine: \"postgresql\"\n    source_type: \"sql\"\n    query: \"SHOW log_disconnections\"\n    evaluation:\n      type: \"equals\"\n      field: \"log_disconnections\"\n      expected: \"on\"\n    remediation:\n      summary: \"Enable disconnection logging in postgresql.conf\"\n      steps:\n        - \"Set log_disconnections = on in postgresql.conf\"\n        - \"Reload PostgreSQL: SELECT pg_reload_conf()\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"4.2\"\n        name: \"Ensure log_disconnections is enabled\"\n    tags: [\"logging\", \"audit\", \"disconnections\"]\n\n  - check_id: \"pg-log-003\"\n    title: \"Statement logging level configured\"\n    description: \"Ensures log_statement is set to at least ddl to capture schema changes\"\n    severity: \"MEDIUM\"\n    category: \"logging\"\n    engine: \"postgresql\"\n    source_type: \"sql\"\n    query: \"SHOW log_statement\"\n    evaluation:\n      type: \"in\"\n      field: \"log_statement\"\n      expected: [\"ddl\", \"mod\", \"all\"]\n    remediation:\n      summary: \"Set log_statement to at least ddl in postgresql.conf\"\n      steps:\n        - \"Set log_statement = 'ddl' in postgresql.conf (or 'mod'/'all' for stricter logging)\"\n        - \"Reload PostgreSQL: SELECT pg_reload_conf()\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"4.3\"\n        name: \"Ensure log_statement is set correctly\"\n    tags: [\"logging\", \"audit\", \"statements\"]\n\n  - check_id: \"pg-super-001\"\n    title: \"No unnecessary superuser roles\"\n    description: \"Ensures no application or monitoring roles have superuser privilege\"\n    severity: \"HIGH\"\n    category: \"privileges\"\n    engine: \"postgresql\"\n    source_type: \"sql\"\n    query: \"SELECT count(*) as superuser_count FROM pg_roles WHERE rolsuper = true AND rolname NOT IN ('postgres', 'rds_superuser', 'azure_superuser', 'cloudsqlsuperuser')\"\n    evaluation:\n      type: \"row_count_zero\"\n      field: \"superuser_count\"\n      expected: \"0\"\n    remediation:\n      summary: \"Revoke superuser from non-essential roles\"\n      steps:\n        - \"Identify roles with superuser: SELECT rolname FROM pg_roles WHERE rolsuper = true\"\n        - \"ALTER ROLE \u003crolname\u003e NOSUPERUSER for each non-essential role\"\n        - \"Grant specific privileges instead of superuser\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"5.1\"\n        name: \"Ensure superuser privileges are limited\"\n    tags: [\"privileges\", \"superuser\", \"roles\"]\n\n  - check_id: \"pg-super-002\"\n    title: \"Superuser count within threshold\"\n    description: \"Ensures there are no more than 2 superuser roles in the cluster\"\n    severity: \"MEDIUM\"\n    category: \"privileges\"\n    engine: \"postgresql\"\n    source_type: \"sql\"\n    query: \"SELECT count(*) as superuser_count FROM pg_roles WHERE rolsuper = true\"\n    evaluation:\n      type: \"row_count_lte\"\n      field: \"superuser_count\"\n      expected: 2\n    remediation:\n      summary: \"Reduce number of superuser roles to 2 or fewer\"\n      steps:\n        - \"Review all superuser roles: SELECT rolname FROM pg_roles WHERE rolsuper = true\"\n        - \"ALTER ROLE \u003crolname\u003e NOSUPERUSER for excess roles\"\n        - \"Retain only postgres and one admin user as superuser\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"5.2\"\n        name: \"Ensure the number of superuser accounts is minimized\"\n    tags: [\"privileges\", \"superuser\", \"count\"]\n\n  - check_id: \"pg-public-001\"\n    title: \"Public schema CREATE privilege revoked\"\n    description: \"Ensures PUBLIC role cannot create objects in the public schema\"\n    severity: \"MEDIUM\"\n    category: \"privileges\"\n    engine: \"postgresql\"\n    source_type: \"sql\"\n    query: \"SELECT has_schema_privilege('public', 'public', 'CREATE') as has_create\"\n    evaluation:\n      type: \"equals\"\n      field: \"has_create\"\n      expected: \"false\"\n    remediation:\n      summary: \"Revoke CREATE on public schema from PUBLIC role\"\n      steps:\n        - \"REVOKE CREATE ON SCHEMA public FROM PUBLIC\"\n        - \"Grant CREATE to specific roles as needed\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"5.3\"\n        name: \"Ensure excessive privileges are not granted to PUBLIC\"\n    tags: [\"privileges\", \"public\", \"schema\"]\n\n  - check_id: \"pg-public-002\"\n    title: \"Default privileges reviewed for public schema\"\n    description: \"Ensures default privileges do not grant excessive access to PUBLIC role in public schema\"\n    severity: \"LOW\"\n    category: \"privileges\"\n    engine: \"postgresql\"\n    source_type: \"sql\"\n    query: \"SELECT count(*) as default_priv_count FROM pg_namespace n LEFT JOIN pg_default_acl d ON d.defaclnamespace = n.oid WHERE n.nspname = 'public' AND d.defaclrole = 0\"\n    evaluation:\n      type: \"row_count_zero\"\n      field: \"default_priv_count\"\n      expected: \"0\"\n    remediation:\n      summary: \"Review and restrict default privileges in public schema\"\n      steps:\n        - \"ALTER DEFAULT PRIVILEGES IN SCHEMA public REVOKE ALL ON TABLES FROM PUBLIC\"\n        - \"ALTER DEFAULT PRIVILEGES IN SCHEMA public REVOKE ALL ON FUNCTIONS FROM PUBLIC\"\n        - \"Grant specific defaults to designated roles only\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"5.4\"\n        name: \"Ensure default privileges are reviewed\"\n    tags: [\"privileges\", \"default\", \"public\"]\n\n  - check_id: \"pg-ext-001\"\n    title: \"No unnecessary extensions installed\"\n    description: \"Ensures only required extensions are installed and potentially dangerous ones are not present\"\n    severity: \"LOW\"\n    category: \"configuration\"\n    engine: \"postgresql\"\n    source_type: \"sql\"\n    query: \"SELECT count(*) as risky_ext_count FROM pg_extension WHERE extname IN ('adminpack', 'dblink', 'postgres_fdw', 'file_fdw')\"\n    evaluation:\n      type: \"row_count_zero\"\n      field: \"risky_ext_count\"\n      expected: \"0\"\n    remediation:\n      summary: \"Remove unnecessary or risky extensions\"\n      steps:\n        - \"Review installed extensions: SELECT * FROM pg_extension\"\n        - \"DROP EXTENSION \u003cextname\u003e for unnecessary extensions\"\n        - \"Keep only extensions required by the application\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"7.1\"\n        name: \"Ensure unnecessary extensions are not installed\"\n    tags: [\"configuration\", \"extensions\", \"attack-surface\"]\n\n  - check_id: \"pg-priv-001\"\n    title: \"No roles with CREATEDB privilege\"\n    description: \"Ensures no non-superuser roles have CREATEDB privilege which could be abused\"\n    severity: \"LOW\"\n    category: \"privileges\"\n    engine: \"postgresql\"\n    source_type: \"sql\"\n    query: \"SELECT count(*) as createdb_count FROM pg_roles WHERE rolcreatedb = true AND rolsuper = false\"\n    evaluation:\n      type: \"row_count_zero\"\n      field: \"createdb_count\"\n      expected: \"0\"\n    remediation:\n      summary: \"Revoke CREATEDB from non-superuser roles\"\n      steps:\n        - \"Identify roles: SELECT rolname FROM pg_roles WHERE rolcreatedb = true AND rolsuper = false\"\n        - \"ALTER ROLE \u003crolname\u003e NOCREATEDB for each role\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"5.5\"\n        name: \"Ensure CREATEDB privilege is restricted\"\n    tags: [\"privileges\", \"createdb\", \"roles\"]\n\n  - check_id: \"pg-repl-001\"\n    title: \"Replication uses dedicated user\"\n    description: \"Ensures wal_level is set to replica or logical for proper replication configuration\"\n    severity: \"MEDIUM\"\n    category: \"replication\"\n    engine: \"postgresql\"\n    source_type: \"sql\"\n    query: \"SHOW wal_level\"\n    evaluation:\n      type: \"in\"\n      field: \"wal_level\"\n      expected: [\"replica\", \"logical\"]\n    remediation:\n      summary: \"Set wal_level to replica or logical\"\n      steps:\n        - \"Set wal_level = replica in postgresql.conf\"\n        - \"Restart PostgreSQL (requires restart, not just reload)\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"6.1\"\n        name: \"Ensure wal_level is configured correctly\"\n    tags: [\"replication\", \"wal\", \"configuration\"]\n\n  - check_id: \"pg-repl-002\"\n    title: \"No inactive replication slots\"\n    description: \"Ensures all replication slots are active to prevent WAL accumulation\"\n    severity: \"HIGH\"\n    category: \"replication\"\n    engine: \"postgresql\"\n    source_type: \"sql\"\n    query: \"SELECT count(*) as inactive_slot_count FROM pg_replication_slots WHERE active = false\"\n    evaluation:\n      type: \"row_count_zero\"\n      field: \"inactive_slot_count\"\n      expected: \"0\"\n    not_applicable_when:\n      - feature_disabled: \"replication\"\n    remediation:\n      summary: \"Drop or reactivate inactive replication slots\"\n      steps:\n        - \"Identify inactive slots: SELECT slot_name, active FROM pg_replication_slots\"\n        - \"Drop unused slots: SELECT pg_drop_replication_slot('slot_name')\"\n        - \"Investigate why active slots became inactive\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"6.2\"\n        name: \"Ensure replication slots are properly managed\"\n    tags: [\"replication\", \"slots\", \"wal\"]\n\n  - check_id: \"pg-param-001\"\n    title: \"Row-level security not globally disabled\"\n    description: \"Ensures row_security GUC is not set to off which disables all RLS policies\"\n    severity: \"MEDIUM\"\n    category: \"configuration\"\n    engine: \"postgresql\"\n    source_type: \"sql\"\n    query: \"SHOW row_security\"\n    evaluation:\n      type: \"not_equals\"\n      field: \"row_security\"\n      expected: \"off\"\n    remediation:\n      summary: \"Ensure row_security is set to on\"\n      steps:\n        - \"Set row_security = on in postgresql.conf\"\n        - \"Reload PostgreSQL: SELECT pg_reload_conf()\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"7.2\"\n        name: \"Ensure row_security is enabled\"\n    tags: [\"configuration\", \"rls\", \"access-control\"]\n\n  - check_id: \"pg-conn-001\"\n    title: \"No roles with unlimited connection limit\"\n    description: \"Ensures non-superuser roles have connection limits set\"\n    severity: \"LOW\"\n    category: \"configuration\"\n    engine: \"postgresql\"\n    source_type: \"sql\"\n    query: \"SELECT count(*) as unlimited_count FROM pg_roles WHERE rolconnlimit = -1 AND rolsuper = false AND rolcanlogin = true\"\n    evaluation:\n      type: \"row_count_zero\"\n      field: \"unlimited_count\"\n      expected: \"0\"\n    remediation:\n      summary: \"Set connection limits for login roles\"\n      steps:\n        - \"Identify roles: SELECT rolname FROM pg_roles WHERE rolconnlimit = -1 AND rolcanlogin = true\"\n        - \"ALTER ROLE \u003crolname\u003e CONNECTION LIMIT \u003cn\u003e for each role\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"5.6\"\n        name: \"Ensure connection limits are set\"\n    tags: [\"configuration\", \"connections\", \"limits\"]\n\n  - check_id: \"pg-timeout-001\"\n    title: \"Statement timeout configured\"\n    description: \"Ensures statement_timeout is set to prevent long-running queries\"\n    severity: \"LOW\"\n    category: \"configuration\"\n    engine: \"postgresql\"\n    source_type: \"sql\"\n    query: \"SHOW statement_timeout\"\n    evaluation:\n      type: \"not_equals\"\n      field: \"statement_timeout\"\n      expected: \"0\"\n    remediation:\n      summary: \"Set a statement_timeout value\"\n      steps:\n        - \"Set statement_timeout = '60s' (or appropriate value) in postgresql.conf\"\n        - \"Reload PostgreSQL: SELECT pg_reload_conf()\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"7.3\"\n        name: \"Ensure statement_timeout is configured\"\n    tags: [\"configuration\", \"timeout\", \"dos-prevention\"]\n\n  - check_id: \"pg-backup-001\"\n    title: \"Archive mode and command configured\"\n    description: \"Ensures archive_mode is on and archive_command is set for point-in-time recovery\"\n    severity: \"HIGH\"\n    category: \"backup\"\n    engine: \"postgresql\"\n    source_type: \"sql\"\n    query: \"SELECT current_setting('archive_mode') as archive_mode, current_setting('archive_command') as archive_command\"\n    evaluation:\n      type: \"archive_sane\"\n      fields:\n        archive_mode: [\"on\", \"always\"]\n        archive_command_not_empty: true\n    remediation:\n      summary: \"Enable archive mode and configure archive command\"\n      steps:\n        - \"Set archive_mode = on in postgresql.conf\"\n        - \"Set archive_command to a valid archiving command\"\n        - \"Restart PostgreSQL (archive_mode requires restart)\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"8.1\"\n        name: \"Ensure archive mode is configured\"\n    tags: [\"backup\", \"archive\", \"pitr\"]\n\n  - check_id: \"pg-exposure-001\"\n    title: \"Database service is not publicly exposed\"\n    description: \"Detects if PostgreSQL is bound to non-loopback interfaces, exposing it beyond localhost\"\n    severity: \"CRITICAL\"\n    category: \"Network\"\n    engine: \"postgresql\"\n    source_type: \"pseudo\"\n    command:\n      type: \"agent:exposureCheck\"\n      port: 5432\n    evaluation:\n      type: \"not_publicly_listening\"\n    not_applicable_when:\n      - query_error_contains: \"no_socket_enumeration\"\n    remediation:\n      summary: \"Bind PostgreSQL to specific private interfaces and restrict access with firewall rules\"\n      steps:\n        - \"Identify required private IPs for client and replication access\"\n        - \"Set listen_addresses to specific private IPs (e.g., '10.0.1.5,172.16.0.2') — avoid using '*' or '0.0.0.0'\"\n        - \"Verify pg_hba.conf restricts connections to known subnets\"\n        - \"Apply firewall rules or security groups to allow only authorized source IPs on port 5432\"\n        - \"If using replication, ensure standby IPs are in the allowed list before restarting\"\n        - \"Restart PostgreSQL to apply listen_addresses changes\"\n    benchmark:\n      - framework: \"CIS\"\n        id: \"3.8\"\n        name: \"Ensure database service is not publicly exposed\"\n    tags: [\"network\", \"exposure\", \"binding\"]\n"
  },
  "controls": {
    "controls/check_controls.yaml": "# Check -\u003e NIST SP 800-53 Rev. 5 control(s). Every shipped check must appear\n# here (enforced by TestEveryShippedCheckHasControl). Framework labels are\n# derived from these via crosswalks.yaml; do not tag frameworks per check.\ncatalog: nist-800-53r5\nchecks:\n  mongodb:\n    mg-auth-001:      [\"IA-2\"]\n    mg-tls-001:       [\"SC-8\"]\n    mg-bind-001:      [\"SC-7\"]\n    mg-audit-001:     [\"AU-2\", \"AU-12\"]\n    mg-enc-001:       [\"SC-28\"]\n    mg-role-001:      [\"AC-6\"]\n    mg-authmech-001:  [\"IA-5(1)\"]\n    mg-x509-001:      [\"IA-5(2)\"]\n    mg-telemetry-001: [\"CM-7\"]\n    mg-ports-001:     [\"SC-7\"]\n    mg-repl-001:      [\"IA-3\"]\n    mg-conf-001:      [\"CM-7\"]\n    mg-priv-001:      [\"AC-6\"]\n    mg-log-001:       [\"AU-3\"]\n    mg-index-001:     [\"SI-4\"]\n    mg-exposure-001:  [\"SC-7\"]\n  mssql:\n    ms-auth-001:      [\"AC-2\", \"AC-6\"]\n    ms-auth-002:      [\"AC-2\", \"CM-6\"]\n    ms-mode-001:      [\"IA-2\"]\n    ms-remote-001:    [\"CM-7\"]\n    ms-adhoc-001:     [\"CM-7\"]\n    ms-ole-001:       [\"CM-7\"]\n    ms-clr-001:       [\"CM-7\"]\n    ms-audit-001:     [\"AU-2\", \"AU-12\"]\n    ms-pwpol-001:     [\"IA-5(1)\"]\n    ms-guest-001:     [\"AC-2\", \"AC-6\"]\n    ms-public-001:    [\"AC-6\"]\n    ms-tde-001:       [\"SC-28\"]\n    ms-force-enc-001: [\"SC-8\"]\n    ms-surface-001:   [\"CM-7\"]\n    ms-ports-001:     [\"SC-7\"]\n    ms-exposure-001:  [\"SC-7\"]\n  mysql:\n    mysql-auth-001:   [\"AC-2\"]\n    mysql-auth-002:   [\"AC-6\", \"AC-17\"]\n    mysql-auth-003:   [\"IA-5(1)\"]\n    mysql-auth-004:   [\"IA-5(1)\"]\n    mysql-auth-005:   [\"IA-5(1)\"]\n    mysql-ssl-001:    [\"SC-8\"]\n    mysql-ssl-002:    [\"SC-8\"]\n    mysql-net-001:    [\"CM-6\"]\n    mysql-cfg-001:    [\"CM-7\"]\n    mysql-cfg-002:    [\"CM-7\", \"AC-6\"]\n    mysql-cfg-003:    [\"CM-7\"]\n    mysql-cfg-004:    [\"CM-6\", \"AC-3\"]\n    mysql-cfg-005:    [\"SI-4\"]\n    mysql-log-001:    [\"AU-12\"]\n    mysql-log-002:    [\"AU-3\"]\n    mysql-log-003:    [\"AU-2\", \"AU-12\"]\n    mysql-priv-001:   [\"AC-6\"]\n    mysql-priv-002:   [\"AC-6\"]\n  oracle:\n    oracle-audit-001:    [\"AU-2\", \"AU-12\"]\n    oracle-audit-002:    [\"AC-6(9)\", \"AU-12\"]\n    oracle-net-001:      [\"AC-17\", \"IA-2\"]\n    oracle-net-002:      [\"IA-2\"]\n    oracle-net-003:      [\"AC-3\"]\n    oracle-config-001:   [\"AC-6\"]\n    oracle-config-002:   [\"CM-6\"]\n    oracle-config-003:   [\"AC-7\"]\n    oracle-recovery-001: [\"CP-9\", \"CP-10\"]\n    oracle-version-001:  [\"SI-2\"]\n  postgresql:\n    pg-auth-001:     [\"IA-5(1)\"]\n    pg-auth-002:     [\"IA-5(1)\"]\n    pg-ssl-001:      [\"SC-8\"]\n    pg-hba-001:      [\"IA-2\"]\n    pg-hba-002:      [\"IA-5(1)\"]\n    pg-log-001:      [\"AU-2\", \"AU-12\"]\n    pg-log-002:      [\"AU-2\", \"AU-12\"]\n    pg-log-003:      [\"AU-2\", \"AU-3\"]\n    pg-super-001:    [\"AC-6\"]\n    pg-super-002:    [\"AC-6\"]\n    pg-public-001:   [\"AC-6\"]\n    pg-public-002:   [\"AC-6\"]\n    pg-ext-001:      [\"CM-7\"]\n    pg-priv-001:     [\"AC-6\"]\n    pg-repl-001:     [\"AC-6\"]\n    pg-repl-002:     [\"CM-6\"]\n    pg-param-001:    [\"AC-3\"]\n    pg-conn-001:     [\"SC-5\"]\n    pg-timeout-001:  [\"SC-5\"]\n    pg-backup-001:   [\"CP-9\"]\n    pg-exposure-001: [\"SC-7\"]\n",
    "controls/check_stig_links.yaml": "# Check -\u003e DISA STIG rule links (rule-level coverage).\n#\n# stig:    source key from compliance/stig/sources.yaml\n# vuln_id: STIG Vuln ID (stable across STIG releases)\n# match:   full    — the check tests what the STIG rule's check procedure tests\n#          partial — the check covers part of the rule (e.g. one of several\n#                    settings, or a weaker threshold than the STIG requires)\n#\n# Every link was reviewed against the rule's check text, not just its title.\n# The NIST SP 800-53 controls of linked rules (via CCI) are generated into\n# stig_rule_controls.yaml by `go run ./cmd/stig-watch`; do not edit that file.\nlinks:\n  mssql:\n    ms-auth-001:\n      - { stig: mssql-2016-instance, vuln_id: V-214028, match: full }\n      - { stig: mssql-2022-instance, vuln_id: V-274444, match: full }\n    ms-auth-002:\n      - { stig: mssql-2016-instance, vuln_id: V-214029, match: full }\n      - { stig: mssql-2022-instance, vuln_id: V-274445, match: full }\n    ms-mode-001:\n      - { stig: mssql-2016-instance, vuln_id: V-213931, match: full }\n      - { stig: mssql-2022-instance, vuln_id: V-271264, match: full }\n    ms-remote-001:\n      - { stig: mssql-2016-instance, vuln_id: V-214037, match: full }\n      - { stig: mssql-2022-instance, vuln_id: V-271298, match: full }\n    ms-ole-001:\n      - { stig: mssql-2016-instance, vuln_id: V-214035, match: full }\n      - { stig: mssql-2022-instance, vuln_id: V-274451, match: full }\n    ms-surface-001:\n      - { stig: mssql-2016-instance, vuln_id: V-213957, match: full }\n      - { stig: mssql-2022-instance, vuln_id: V-271302, match: full }\n    ms-clr-001: # checks 'clr enabled' only; STIG also reviews CLR assemblies\n      - { stig: mssql-2016-instance, vuln_id: V-213958, match: partial }\n      - { stig: mssql-2022-instance, vuln_id: V-271301, match: partial }\n    ms-pwpol-001: # CHECK_POLICY on SQL logins; STIG requires DOD complexity + lifetime\n      - { stig: mssql-2016-instance, vuln_id: V-213964, match: partial }\n      - { stig: mssql-2022-instance, vuln_id: V-271307, match: partial }\n    ms-tde-001: # TDE is one way to meet protection at rest\n      - { stig: mssql-2016-instance, vuln_id: V-213972, match: partial }\n      - { stig: mssql-2022-instance, vuln_id: V-271324, match: partial }\n      - { stig: mssql-2016-database, vuln_id: V-213926, match: partial }\n      - { stig: mssql-2022-database, vuln_id: V-271201, match: partial }\n    ms-force-enc-001: # Force Encryption; STIG also requires an approved TLS version\n      - { stig: mssql-2016-instance, vuln_id: V-213966, match: partial }\n      - { stig: mssql-2016-instance, vuln_id: V-213967, match: partial }\n      - { stig: mssql-2022-instance, vuln_id: V-271309, match: partial }\n      - { stig: mssql-2022-instance, vuln_id: V-271310, match: partial }\n\n  postgresql:\n    pg-auth-001: # password_encryption = scram-sha-256; STIG also checks stored md5 hashes\n      - { stig: postgresql-crunchy-16, vuln_id: V-261891, match: partial }\n    pg-auth-002: # no md5 in pg_hba.conf; STIG also forbids \"password\"\n      - { stig: postgresql-crunchy-16, vuln_id: V-261892, match: partial }\n    pg-hba-002: # no \"password\" in pg_hba.conf; STIG also forbids md5\n      - { stig: postgresql-crunchy-16, vuln_id: V-261892, match: partial }\n    pg-ssl-001:\n      - { stig: postgresql-crunchy-16, vuln_id: V-261900, match: full }\n      - { stig: postgresql-crunchy-16, vuln_id: V-261932, match: full }\n    pg-log-001: # log_connections on; STIG also verifies the log content\n      - { stig: postgresql-crunchy-16, vuln_id: V-261956, match: partial }\n    pg-conn-001: # per-role limits only; STIG also reviews max_connections\n      - { stig: postgresql-crunchy-16, vuln_id: V-261857, match: partial }\n\n  oracle:\n    oracle-audit-001: # standard auditing (AUDIT_TRAIL); unified auditing not evaluated\n      - { stig: oracle-19c, vuln_id: V-270504, match: partial }\n    oracle-audit-002: # audit_sys_operations; unified-auditing branch not evaluated\n      - { stig: oracle-19c, vuln_id: V-270540, match: partial }\n    oracle-net-001: # parameter only; STIG also checks password file ownership\n      - { stig: oracle-19c, vuln_id: V-270526, match: partial }\n    oracle-net-003:\n      - { stig: oracle-19c, vuln_id: V-270524, match: full }\n    oracle-config-003: # \"is set\"; STIG requires FAILED_LOGIN_ATTEMPTS \u003c= 3\n      - { stig: oracle-19c, vuln_id: V-270550, match: partial }\n    oracle-version-001:\n      - { stig: oracle-19c, vuln_id: V-270513, match: full }\n\n  mysql:\n    mysql-auth-003: # validate_password present; STIG lists the DOD rules\n      - { stig: mysql-8.0, vuln_id: V-235137, match: partial }\n    mysql-auth-004:\n      - { stig: mysql-8.0, vuln_id: V-235137, match: partial }\n    mysql-auth-005:\n      - { stig: mysql-8.0, vuln_id: V-235137, match: partial }\n    mysql-ssl-001:\n      - { stig: mysql-8.0, vuln_id: V-235139, match: partial }\n    mysql-ssl-002:\n      - { stig: mysql-8.0, vuln_id: V-235186, match: full }\n    mysql-cfg-001:\n      - { stig: mysql-8.0, vuln_id: V-235143, match: full }\n    mysql-log-003: # audit plugin active; STIG requires DOD-defined event coverage\n      - { stig: mysql-8.0, vuln_id: V-235103, match: partial }\n\n  mongodb:\n    mg-auth-001:\n      - { stig: mongodb-8, vuln_id: V-279399, match: full }\n      - { stig: mongodb-8, vuln_id: V-279332, match: partial }\n    mg-tls-001: # TLS enabled; STIG requires requireTLS with specific certificate settings\n      - { stig: mongodb-8, vuln_id: V-279350, match: partial }\n      - { stig: mongodb-8, vuln_id: V-279389, match: partial }\n    mg-bind-001: # bind address only; STIG also checks port and TLS protocols\n      - { stig: mongodb-8, vuln_id: V-279346, match: partial }\n    mg-audit-001: # auditLog configured; STIG also requires DOD event filter\n      - { stig: mongodb-8, vuln_id: V-279334, match: partial }\n    mg-enc-001:\n      - { stig: mongodb-8, vuln_id: V-279361, match: full }\n    mg-authmech-001: # mechanism config; STIG checks every user's stored credential type\n      - { stig: mongodb-8, vuln_id: V-279349, match: partial }\n    mg-conf-001:\n      - { stig: mongodb-8, vuln_id: V-279366, match: full }\n",
    "controls/crosswalks.yaml": "# NIST SP 800-53 Rev. 5 control -\u003e framework requirement crosswalks.\n#\n# compliance_framework_mappings is derived from check_controls.yaml x this\n# file (plus CIS direct mappings and overrides); see control_mapping.go.\n#\n# relationship: how the control relates to the requirement.\n#   supports   — the control provides evidence toward the requirement; it does\n#                not satisfy it on its own (default; the honest wording for a\n#                database configuration check)\n#   intersects — overlapping scope (e.g. PCI 4.2.1 is about open public\n#                networks, SC-8 about any transmission)\n# source: where the pairing comes from. \"clustereye\" = curated by us; no\n# official crosswalk exists for GDPR, KVKK and SOX.\ncatalog: nist-800-53r5\nframeworks:\n  ISO27001:\n    version: \"2022\"\n    source: \"clustereye (aligned with NIST OLIR SP 800-53r5 \u003c-\u003e ISO/IEC 27001:2022)\"\n    requirements:\n      A.5.16:   { title: \"Identity management\", section: \"Annex A 5 — Organizational controls\", controls: [\"AC-2\"] }\n      A.5.17:   { title: \"Authentication information\", section: \"Annex A 5 — Organizational controls\", controls: [\"IA-5(1)\", \"IA-5(2)\"] }\n      A.5.18:   { title: \"Access rights\", section: \"Annex A 5 — Organizational controls\", controls: [\"AC-2\"] }\n      A.8.2:    { title: \"Privileged access rights\", section: \"Annex A 8 — Technological controls\", controls: [\"AC-6\"] }\n      A.8.3:    { title: \"Information access restriction\", section: \"Annex A 8 — Technological controls\", controls: [\"AC-3\", \"AC-6\"] }\n      A.8.5:    { title: \"Secure authentication\", section: \"Annex A 8 — Technological controls\", controls: [\"IA-2\", \"IA-3\", \"IA-5(1)\", \"IA-5(2)\", \"AC-7\"] }\n      A.8.6:    { title: \"Capacity management\", section: \"Annex A 8 — Technological controls\", controls: [\"SC-5\"] }\n      A.8.8:    { title: \"Management of technical vulnerabilities\", section: \"Annex A 8 — Technological controls\", controls: [\"SI-2\"] }\n      A.8.9:    { title: \"Configuration management\", section: \"Annex A 8 — Technological controls\", controls: [\"CM-6\", \"CM-7\"] }\n      A.8.13:   { title: \"Information backup\", section: \"Annex A 8 — Technological controls\", controls: [\"CP-9\", \"CP-10\"] }\n      A.8.15:   { title: \"Logging\", section: \"Annex A 8 — Technological controls\", controls: [\"AU-2\", \"AU-3\", \"AU-12\", \"AC-6(9)\"] }\n      A.8.16:   { title: \"Monitoring activities\", section: \"Annex A 8 — Technological controls\", controls: [\"SI-4\"] }\n      A.8.20:   { title: \"Networks security\", section: \"Annex A 8 — Technological controls\", controls: [\"SC-7\"] }\n      A.8.24:   { title: \"Use of cryptography\", section: \"Annex A 8 — Technological controls\", controls: [\"SC-8\", \"SC-28\"] }\n\n  PCI-DSS:\n    version: \"4.0\"\n    source: \"clustereye\"\n    requirements:\n      \"2.2.1\":    { title: \"Configuration standards are developed, implemented and maintained\", section: \"Requirement 2 — Apply secure configurations\", controls: [\"CM-6\"] }\n      \"2.2.2\":    { title: \"Vendor default accounts are managed\", section: \"Requirement 2 — Apply secure configurations\", controls: [\"AC-2\"] }\n      \"2.2.4\":    { title: \"Only necessary services, protocols, daemons and functions are enabled\", section: \"Requirement 2 — Apply secure configurations\", controls: [\"CM-7\"] }\n      \"3.5.1\":    { title: \"Stored account data is rendered unreadable\", section: \"Requirement 3 — Protect stored account data\", controls: [\"SC-28\"], relationship: intersects }\n      \"4.2.1\":    { title: \"Strong cryptography protects data during transmission\", section: \"Requirement 4 — Protect data in transmission\", controls: [\"SC-8\"], relationship: intersects }\n      \"6.3.3\":    { title: \"Known vulnerabilities are addressed by installing security patches\", section: \"Requirement 6 — Secure systems and software\", controls: [\"SI-2\"] }\n      \"7.2.2\":    { title: \"Access is assigned based on job function and least privilege\", section: \"Requirement 7 — Restrict access by need to know\", controls: [\"AC-6\"] }\n      \"8.3.1\":    { title: \"All user access is authenticated\", section: \"Requirement 8 — Identify users and authenticate access\", controls: [\"IA-2\"] }\n      \"8.3.2\":    { title: \"Strong cryptography renders authentication factors unreadable\", section: \"Requirement 8 — Identify users and authenticate access\", controls: [\"IA-5(1)\"] }\n      \"8.3.4\":    { title: \"Invalid authentication attempts are limited\", section: \"Requirement 8 — Identify users and authenticate access\", controls: [\"AC-7\"] }\n      \"8.3.6\":    { title: \"Passwords meet minimum complexity\", section: \"Requirement 8 — Identify users and authenticate access\", controls: [\"IA-5(1)\"] }\n      \"10.2.1\":   { title: \"Audit logs are enabled and active\", section: \"Requirement 10 — Log and monitor all access\", controls: [\"AU-2\", \"AU-12\"] }\n      \"10.2.1.2\": { title: \"Audit logs capture all actions by individuals with administrative access\", section: \"Requirement 10 — Log and monitor all access\", controls: [\"AC-6(9)\"] }\n      \"10.2.2\":   { title: \"Audit logs record the required details for each event\", section: \"Requirement 10 — Log and monitor all access\", controls: [\"AU-3\"] }\n\n  SOC2:\n    version: \"TSC 2017\"\n    source: \"clustereye\"\n    requirements:\n      CC6.1: { title: \"Logical access security measures\", section: \"CC6 — Logical and physical access controls\", controls: [\"AC-3\", \"AC-7\", \"IA-2\", \"IA-3\", \"IA-5(1)\", \"IA-5(2)\", \"SC-28\"] }\n      CC6.2: { title: \"User registration, authorization and removal\", section: \"CC6 — Logical and physical access controls\", controls: [\"AC-2\"] }\n      CC6.3: { title: \"Role-based access and least privilege\", section: \"CC6 — Logical and physical access controls\", controls: [\"AC-6\"] }\n      CC6.6: { title: \"Protection against threats from outside system boundaries\", section: \"CC6 — Logical and physical access controls\", controls: [\"SC-7\", \"AC-17\"] }\n      CC6.7: { title: \"Restriction of information transmission\", section: \"CC6 — Logical and physical access controls\", controls: [\"SC-8\"] }\n      CC7.1: { title: \"Detection of configuration changes and vulnerabilities\", section: \"CC7 — System operations\", controls: [\"CM-6\", \"CM-7\", \"SI-2\"] }\n      CC7.2: { title: \"Monitoring of system components for anomalies\", section: \"CC7 — System operations\", controls: [\"AU-2\", \"AU-3\", \"AU-12\", \"AC-6(9)\", \"SI-4\"] }\n      A1.1:  { title: \"Capacity is maintained and monitored\", section: \"A1 — Availability\", controls: [\"SC-5\"] }\n      A1.2:  { title: \"Backup and recovery infrastructure\", section: \"A1 — Availability\", controls: [\"CP-9\", \"CP-10\"] }\n\n  GDPR:\n    version: \"2016/679\"\n    source: \"clustereye\"\n    requirements:\n      \"Art.32(1)(a)\": { title: \"Pseudonymisation and encryption of personal data\", section: \"Article 32 — Security of processing\", controls: [\"SC-8\", \"SC-28\"] }\n      \"Art.32(1)(b)\": { title: \"Ongoing confidentiality, integrity, availability and resilience\", section: \"Article 32 — Security of processing\", controls: [\"AC-2\", \"AC-3\", \"AC-6\", \"AC-7\", \"IA-2\", \"IA-5(1)\", \"IA-5(2)\", \"AU-2\", \"AU-12\", \"AC-6(9)\"] }\n      \"Art.32(1)(c)\": { title: \"Timely restoration of availability and access to personal data\", section: \"Article 32 — Security of processing\", controls: [\"CP-9\", \"CP-10\"] }\n\n  KVKK:\n    version: \"6698\"\n    source: \"clustereye (KVKK Madde 12 + Kişisel Veri Güvenliği Rehberi teknik tedbirleri)\"\n    requirements:\n      12-SIFRELEME: { title: \"Teknik tedbir: Şifreleme\", section: \"Madde 12 — Veri güvenliğine ilişkin yükümlülükler\", controls: [\"SC-8\", \"SC-28\"] }\n      12-YETKI:     { title: \"Teknik tedbir: Yetki kontrolü\", section: \"Madde 12 — Veri güvenliğine ilişkin yükümlülükler\", controls: [\"AC-3\", \"AC-6\"] }\n      12-HESAP:     { title: \"Teknik tedbir: Kullanıcı hesap yönetimi ve kimlik doğrulama\", section: \"Madde 12 — Veri güvenliğine ilişkin yükümlülükler\", controls: [\"AC-2\", \"AC-7\", \"IA-2\", \"IA-5(1)\", \"IA-5(2)\"] }\n      12-LOG:       { title: \"Teknik tedbir: Log kayıtları\", section: \"Madde 12 — Veri güvenliğine ilişkin yükümlülükler\", controls: [\"AU-2\", \"AU-3\", \"AU-12\", \"AC-6(9)\"] }\n      12-AG:        { title: \"Teknik tedbir: Ağ güvenliği\", section: \"Madde 12 — Veri güvenliğine ilişkin yükümlülükler\", controls: [\"SC-7\", \"AC-17\"] }\n      12-YEDEK:     { title: \"Teknik tedbir: Yedekleme\", section: \"Madde 12 — Veri güvenliğine ilişkin yükümlülükler\", controls: [\"CP-9\", \"CP-10\"] }\n\n  SOX:\n    version: \"ClusterEye ITGC baseline\"\n    source: \"clustereye (IT general controls; SOX defines no technical control list)\"\n    requirements:\n      ITGC-DB-01: { title: \"Database activity audit trail\", section: \"ITGC — Access to programs and data\", controls: [\"AU-2\", \"AU-12\", \"AC-6(9)\"] }\n      ITGC-DB-02: { title: \"Privileged access is restricted (segregation of duties)\", section: \"ITGC — Access to programs and data\", controls: [\"AC-6\"] }\n      ITGC-DB-03: { title: \"User authentication and account management\", section: \"ITGC — Access to programs and data\", controls: [\"AC-2\", \"IA-2\", \"IA-5(1)\"] }\n      ITGC-DB-04: { title: \"Recoverability of financial data\", section: \"ITGC — Computer operations\", controls: [\"CP-9\", \"CP-10\"] }\n",
    "controls/nist_800_53_r5.yaml": "# NIST SP 800-53 Rev. 5 controls referenced by ClusterEye checks (subset).\n# This is the canonical control layer: checks map here (check_controls.yaml),\n# and framework requirements are reached through crosswalks.yaml.\ncatalog: nist-800-53r5\ncontrols:\n  - { id: \"AC-2\",    family: \"Access Control\", title: \"Account Management\" }\n  - { id: \"AC-3\",    family: \"Access Control\", title: \"Access Enforcement\" }\n  - { id: \"AC-6\",    family: \"Access Control\", title: \"Least Privilege\" }\n  - { id: \"AC-6(9)\", family: \"Access Control\", title: \"Least Privilege | Log Use of Privileged Functions\" }\n  - { id: \"AC-7\",    family: \"Access Control\", title: \"Unsuccessful Logon Attempts\" }\n  - { id: \"AC-17\",   family: \"Access Control\", title: \"Remote Access\" }\n  - { id: \"AU-2\",    family: \"Audit and Accountability\", title: \"Event Logging\" }\n  - { id: \"AU-3\",    family: \"Audit and Accountability\", title: \"Content of Audit Records\" }\n  - { id: \"AU-12\",   family: \"Audit and Accountability\", title: \"Audit Record Generation\" }\n  - { id: \"CM-6\",    family: \"Configuration Management\", title: \"Configuration Settings\" }\n  - { id: \"CM-7\",    family: \"Configuration Management\", title: \"Least Functionality\" }\n  - { id: \"CP-9\",    family: \"Contingency Planning\", title: \"System Backup\" }\n  - { id: \"CP-10\",   family: \"Contingency Planning\", title: \"System Recovery and Reconstitution\" }\n  - { id: \"IA-2\",    family: \"Identification and Authentication\", title: \"Identification and Authentication (Organizational Users)\" }\n  - { id: \"IA-3\",    family: \"Identification and Authentication\", title: \"Device Identification and Authentication\" }\n  - { id: \"IA-5(1)\", family: \"Identification and Authentication\", title: \"Authenticator Management | Password-based Authentication\" }\n  - { id: \"IA-5(2)\", family: \"Identification and Authentication\", title: \"Authenticator Management | Public Key-based Authentication\" }\n  - { id: \"SC-5\",    family: \"System and Communications Protection\", title: \"Denial-of-service Protection\" }\n  - { id: \"SC-7\",    family: \"System and Communications Protection\", title: \"Boundary Protection\" }\n  - { id: \"SC-8\",    family: \"System and Communications Protection\", title: \"Transmission Confidentiality and Integrity\" }\n  - { id: \"SC-28\",   family: \"System and Communications Protection\", title: \"Protection of Information at Rest\" }\n  - { id: \"SI-2\",    family: \"System and Information Integrity\", title: \"Flaw Remediation\" }\n  - { id: \"SI-4\",    family: \"System and Information Integrity\", title: \"System Monitoring\" }\n",
    "controls/stig_catalog.yaml": "# GENERATED by cmd/stig-watch from compliance/stig snapshots — do not edit.\n# Every rule of every tracked STIG (no check/fix text), so the API can report\n# rule-level STIG coverage without the snapshots.\nstigs:\n  mongodb-8:\n    engine: mongodb\n    title: MongoDB Enterprise Advanced 8.x Security Technical Implementation Guide\n    version: V1R1\n    benchmark_date: 26 Jan 2026\n    rules:\n      - vuln_id: V-279331\n        stig_id: MD8X-00-000150\n        severity: low\n        class: host\n        title: MongoDB must limit the total number of concurrent connections to the database.\n      - vuln_id: V-279332\n        stig_id: MD8X-00-000200\n        severity: high\n        class: host\n        title: MongoDB must integrate with an organization-level authentication/access mechanism providing account management and automation for all users, groups, roles, and any other principals.\n      - vuln_id: V-279333\n        stig_id: MD8X-00-000300\n        severity: high\n        class: query\n        title: MongoDB must enforce approved authorizations for logical access to information and system resources in accordance with applicable access control policies.\n      - vuln_id: V-279334\n        stig_id: MD8X-00-000400\n        severity: medium\n        class: host\n        title: MongoDB must provide audit record generation for DOD-defined auditable events within all DBMS/database components.\n      - vuln_id: V-279336\n        stig_id: MD8X-00-002000\n        severity: medium\n        class: host\n        title: The audit information produced by MongoDB must be protected from unauthorized access, modification, and deletion.\n      - vuln_id: V-279337\n        stig_id: MD8X-00-002300\n        severity: medium\n        class: host\n        title: MongoDB must protect its audit features from unauthorized access, modification, and removal.\n      - vuln_id: V-279338\n        stig_id: MD8X-00-002400\n        severity: medium\n        class: query\n        title: MongoDB must limit privileges to change software modules, to include stored procedures, functions and triggers, and links to software external to MongoDB.\n      - vuln_id: V-279339\n        stig_id: MD8X-00-002500\n        severity: high\n        class: host\n        title: MongoDB software installation account must be restricted to authorized users.\n      - vuln_id: V-279340\n        stig_id: MD8X-00-002600\n        severity: medium\n        class: host\n        title: MongoDB database software, including configuration files, must be stored in dedicated directories, or DASD pools, separate from the host OS and other applications.\n      - vuln_id: V-279341\n        stig_id: MD8X-00-002700\n        severity: medium\n        class: query\n        title: MongoDB database objects (including but not limited to tables, indexes, storage, stored procedures, functions, triggers, links to software external to MongoDB, etc.) must be owned by database/DBMS principals authorized for ownership.\n      - vuln_id: V-279342\n        stig_id: MD8X-00-002800\n        severity: medium\n        class: query\n        title: The role(s)/group(s) used to modify database structure (including but not necessarily limited to tables, indexes, storage, etc.) and logic modules (stored procedures, functions, triggers, links to software external to MongoDB, etc.) must be restricted to authorized users.\n      - vuln_id: V-279344\n        stig_id: MD8X-00-003000\n        severity: medium\n        class: query\n        title: Unused database components, MongoDB software, and database objects must be removed.\n      - vuln_id: V-279346\n        stig_id: MD8X-00-003300\n        severity: medium\n        class: host\n        title: MongoDB must be configured to prohibit or restrict the use of organization-defined functions, ports, protocols, and/or services, as defined in the PPSM CAL and vulnerability assessments.\n      - vuln_id: V-279347\n        stig_id: MD8X-00-003400\n        severity: medium\n        class: query\n        title: MongoDB must uniquely identify and authenticate organizational users (or processes acting on behalf of organizational users).\n      - vuln_id: V-279349\n        stig_id: MD8X-00-003600\n        severity: high\n        class: query\n        title: MongoDB must, for password-based authentication, store passwords using an approved salted key derivation function, preferably using a keyed hash.\n      - vuln_id: V-279350\n        stig_id: MD8X-00-003700\n        severity: high\n        class: host\n        title: If passwords are used for authentication, MongoDB must transmit only encrypted representations of passwords.\n      - vuln_id: V-279351\n        stig_id: MD8X-00-003900\n        severity: high\n        class: host\n        title: MongoDB must enforce authorized access to all PKI private keys stored/used by the DBMS.\n      - vuln_id: V-279352\n        stig_id: MD8X-00-004000\n        severity: medium\n        class: query\n        title: MongoDB must map the PKI-authenticated identity to an associated user account.\n      - vuln_id: V-279353\n        stig_id: MD8X-00-004100\n        severity: high\n        class: query\n        title: MongoDB must obscure feedback of authentication information during the authentication process to protect the information from possible exploitation/use by unauthorized individuals.\n      - vuln_id: V-279354\n        stig_id: MD8X-00-004200\n        severity: high\n        class: query\n        title: MongoDB must use NIST FIPS 140-2/140-3 validated cryptographic modules for cryptographic operations.\n      - vuln_id: V-279355\n        stig_id: MD8X-00-004400\n        severity: medium\n        class: query\n        title: MongoDB must separate user functionality (including user interface services) from database management functionality.\n      - vuln_id: V-279358\n        stig_id: MD8X-00-004700\n        severity: medium\n        class: host\n        title: MongoDB must maintain the authenticity of communications sessions by guarding against man-in-the-middle attacks that guess at Session ID values.\n      - vuln_id: V-279361\n        stig_id: MD8X-00-005000\n        severity: high\n        class: query\n        title: MongoDB must protect the confidentiality and integrity of all information at rest.\n      - vuln_id: V-279363\n        stig_id: MD8X-00-005200\n        severity: medium\n        class: procedural\n        title: Database contents must be protected from unauthorized and unintended information transfer by enforcement of a data-transfer policy.\n      - vuln_id: V-279364\n        stig_id: MD8X-00-005400\n        severity: medium\n        class: host\n        title: Access to database files must be limited to relevant processes and to authorized, administrative users.\n      - vuln_id: V-279365\n        stig_id: MD8X-00-005500\n        severity: medium\n        class: procedural\n        title: MongoDB must check the validity of all data inputs except those specifically identified by the organization.\n      - vuln_id: V-279366\n        stig_id: MD8X-00-005600\n        severity: medium\n        class: query\n        title: MongoDB and associated applications must reserve the use of dynamic code execution for situations that require it.\n      - vuln_id: V-279367\n        stig_id: MD8X-00-005800\n        severity: medium\n        class: query\n        title: MongoDB must provide nonprivileged users with error messages that provide information necessary for corrective actions without revealing information that could be exploited by adversaries.\n      - vuln_id: V-279368\n        stig_id: MD8X-00-005900\n        severity: medium\n        class: query\n        title: MongoDB must reveal detailed error messages only to the information system security officer (ISSO), information system security manager (ISSM), system administrator (SA) and database administrator (DBA).\n      - vuln_id: V-279371\n        stig_id: MD8X-00-006200\n        severity: medium\n        class: query\n        title: MongoDB must associate organization-defined types of security labels having organization-defined security label values with information in storage.\n      - vuln_id: V-279372\n        stig_id: MD8X-00-006500\n        severity: medium\n        class: host\n        title: MongoDB must enforce Discretionary Access Control (DAC) policies, as defined by the data owner, over defined subjects and objects.\n      - vuln_id: V-279373\n        stig_id: MD8X-00-006600\n        severity: medium\n        class: query\n        title: MongoDB must prevent nonprivileged users from executing privileged functions, to include disabling, circumventing, or altering implemented security safeguards/countermeasures.\n      - vuln_id: V-279375\n        stig_id: MD8X-00-006800\n        severity: medium\n        class: procedural\n        title: MongoDB must allocate audit record storage capacity in accordance with organization-defined audit record storage requirements.\n      - vuln_id: V-279376\n        stig_id: MD8X-00-006900\n        severity: medium\n        class: host\n        title: MongoDB must provide a warning to appropriate support staff when allocated audit record storage volume reaches 75 percent of maximum audit record storage capacity.\n      - vuln_id: V-279380\n        stig_id: MD8X-00-007300\n        severity: medium\n        class: query\n        title: MongoDB must prohibit user installation of logic modules (stored procedures, functions, triggers, views, etc.) without explicit privileged status.\n      - vuln_id: V-279381\n        stig_id: MD8X-00-007400\n        severity: medium\n        class: query\n        title: MongoDB must enforce access restrictions associated with changes to the configuration of MongoDB or database(s).\n      - vuln_id: V-279382\n        stig_id: MD8X-00-007600\n        severity: medium\n        class: procedural\n        title: MongoDB must disable network functions, ports, protocols, and services deemed by the organization to be nonsecure, in accord with the Ports, Protocols, and Services Management (PPSM) guidance.\n      - vuln_id: V-279383\n        stig_id: MD8X-00-007700\n        severity: medium\n        class: query\n        title: MongoDB must require users to reauthenticate when organization-defined circumstances or situations require reauthentication.\n      - vuln_id: V-279385\n        stig_id: MD8X-00-007900\n        severity: high\n        class: query\n        title: MongoDB must use NSA-approved cryptography to protect classified information in accordance with the data owner's requirements.\n      - vuln_id: V-279386\n        stig_id: MD8X-00-008000\n        severity: medium\n        class: host\n        title: MongoDB must only accept end entity certificates issued by DOD PKI or DOD-approved PKI Certification Authorities (CAs) for the establishment of all encrypted sessions.\n      - vuln_id: V-279387\n        stig_id: MD8X-00-008100\n        severity: high\n        class: host\n        title: MongoDB must implement cryptographic mechanisms to prevent unauthorized modification of organization-defined information at rest (to include, at a minimum, PII and classified information) on organization-defined information system components.\n      - vuln_id: V-279389\n        stig_id: MD8X-00-008400\n        severity: medium\n        class: host\n        title: MongoDB must maintain the confidentiality and integrity of information during preparation for transmission.\n      - vuln_id: V-279390\n        stig_id: MD8X-00-008600\n        severity: medium\n        class: query\n        title: When invalid inputs are received, MongoDB must behave in a predictable and documented manner that reflects organizational and system objectives.\n      - vuln_id: V-279391\n        stig_id: MD8X-00-008700\n        severity: medium\n        class: procedural\n        title: When updates are applied to MongoDB software, any software components that have been replaced or made unnecessary must be removed.\n      - vuln_id: V-279392\n        stig_id: MD8X-00-008800\n        severity: medium\n        class: query\n        title: Security-relevant software updates to MongoDB must be installed within the time period directed by an authoritative source (e.g., IAVM, CTOs, DTMs, and STIGs).\n      - vuln_id: V-279393\n        stig_id: MD8X-00-008900\n        severity: high\n        class: procedural\n        title: MongoDB must be a version supported by the vendor.\n      - vuln_id: V-279394\n        stig_id: MD8X-00-012100\n        severity: medium\n        class: host\n        title: MongoDB must off-load audit data to a separate log management facility; this shall be continuous and in near real time for systems with a network connection to the storage facility and weekly or more often for stand-alone systems.\n      - vuln_id: V-279395\n        stig_id: MD8X-00-012200\n        severity: medium\n        class: procedural\n        title: MongoDB must be configured in accordance with the security configuration settings based on DOD security configuration and implementation guidance, including STIGs, NSA configuration guides, CTOs, DTMs, and IAVMs.\n      - vuln_id: V-279398\n        stig_id: MD8X-00-012700\n        severity: medium\n        class: query\n        title: MongoDB must prevent the installation of organization-defined software and firmware components without verification that the component has been digitally signed using a certificate recognized and approved by the organization.\n      - vuln_id: V-279399\n        stig_id: MD8X-00-012800\n        severity: medium\n        class: host\n        title: MongoDB must require users to be individually authenticated before granting access to the shared accounts or resources.\n      - vuln_id: V-279409\n        stig_id: MD8X-00-013800\n        severity: medium\n        class: host\n        title: MongoDB must, for public key-based authentication, implement a local cache of revocation data to support path discovery and validation.\n      - vuln_id: V-279411\n        stig_id: MD8X-00-014000\n        severity: medium\n        class: host\n        title: MongoDB must include only approved trust anchors in trust stores or certificate stores managed by the organization.\n      - vuln_id: V-279412\n        stig_id: MD8X-00-014100\n        severity: medium\n        class: query\n        title: MongoDB must provide protected storage for cryptographic keys with organization-defined safeguards and/or hardware protected key store.\n      - vuln_id: V-281700\n        stig_id: MD8X-00-006050\n        severity: low\n        class: procedural\n        title: MongoDB must terminate a user session after organization-defined conditions or trigger events requiring session disconnect via a scheduled script.\n      - vuln_id: V-282943\n        stig_id: MD8X-00-003350\n        severity: medium\n        class: query\n        title: MongoDB must be configured to restrict the use of administrator access to authorized IP addresses.\n  mssql-2016-database:\n    engine: mssql\n    title: MS SQL Server 2016 Database Security Technical Implementation Guide\n    version: V3R5\n    benchmark_date: 01 Apr 2026\n    rules:\n      - vuln_id: V-213900\n        stig_id: SQL6-D0-000100\n        severity: high\n        class: query\n        title: SQL Server databases must integrate with an organization-level authentication/access mechanism providing account management and automation for all users, groups, roles, and any other principals.\n      - vuln_id: V-213901\n        stig_id: SQL6-D0-000300\n        severity: high\n        class: procedural\n        title: SQL Server must enforce approved authorizations for logical access to database information and system resources in accordance with applicable access control policies.\n      - vuln_id: V-213902\n        stig_id: SQL6-D0-000400\n        severity: medium\n        class: query\n        title: SQL Server must protect against a user falsely repudiating by ensuring only clearly unique Active Directory user accounts can connect to the database.\n      - vuln_id: V-213903\n        stig_id: SQL6-D0-000500\n        severity: low\n        class: query\n        title: SQL Server must protect against a user falsely repudiating by use of system-versioned tables (Temporal Tables).\n      - vuln_id: V-213904\n        stig_id: SQL6-D0-000600\n        severity: medium\n        class: query\n        title: SQL Server must protect against a user falsely repudiating by ensuring databases are not in a trust relationship.\n      - vuln_id: V-213905\n        stig_id: SQL6-D0-000700\n        severity: medium\n        class: query\n        title: SQL Server must allow only the ISSM (or individuals or roles appointed by the ISSM) to select which auditable events are to be audited.\n      - vuln_id: V-213907\n        stig_id: SQL6-D0-001200\n        severity: medium\n        class: query\n        title: SQL Server must limit privileges to change software modules, to include stored procedures, functions, and triggers, and links to software external to SQL Server.\n      - vuln_id: V-213908\n        stig_id: SQL6-D0-001300\n        severity: medium\n        class: query\n        title: Database objects (including but not limited to tables, indexes, storage, stored procedures, functions, triggers, links to software external to SQL Server, etc.) must be owned by database/DBMS principals authorized for ownership.\n      - vuln_id: V-213909\n        stig_id: SQL6-D0-001400\n        severity: medium\n        class: query\n        title: The role(s)/group(s) used to modify database structure (including but not necessarily limited to tables, indexes, storage, etc.) and logic modules (stored procedures, functions, triggers, links to software external to SQL Server, etc.) must be restricted to authorized users.\n      - vuln_id: V-213910\n        stig_id: SQL6-D0-001500\n        severity: medium\n        class: query\n        title: In the event of a system failure, hardware loss or disk failure, SQL Server must be able to restore necessary databases with least disruption to mission processes.\n      - vuln_id: V-213911\n        stig_id: SQL6-D0-001600\n        severity: medium\n        class: query\n        title: The Database Master Key encryption password must meet DOD password complexity requirements.\n      - vuln_id: V-213912\n        stig_id: SQL6-D0-001700\n        severity: medium\n        class: query\n        title: The Database Master Key must be encrypted by the Service Master Key, where a Database Master Key is required and another encryption method has not been specified.\n      - vuln_id: V-213913\n        stig_id: SQL6-D0-001800\n        severity: medium\n        class: procedural\n        title: The Certificate used for encryption must be backed up and stored in a secure location that is not on the SQL Server.\n      - vuln_id: V-213914\n        stig_id: SQL6-D0-001900\n        severity: low\n        class: query\n        title: SQL Server must isolate security functions from non-security functions.\n      - vuln_id: V-213915\n        stig_id: SQL6-D0-002000\n        severity: medium\n        class: procedural\n        title: Database contents must be protected from unauthorized and unintended information transfer by enforcement of a data-transfer policy.\n      - vuln_id: V-213916\n        stig_id: SQL6-D0-002100\n        severity: medium\n        class: procedural\n        title: SQL Server must check the validity of all data inputs except those specifically identified by the organization.\n      - vuln_id: V-213917\n        stig_id: SQL6-D0-002400\n        severity: medium\n        class: procedural\n        title: SQL Server must provide non-privileged users with error messages that provide information necessary for corrective actions without revealing information that could be exploited by adversaries.\n      - vuln_id: V-213919\n        stig_id: SQL6-D0-002600\n        severity: medium\n        class: procedural\n        title: SQL Server must associate organization-defined types of security labels having organization-defined security label values with information in process, transit, or storage.\n      - vuln_id: V-213921\n        stig_id: SQL6-D0-002800\n        severity: low\n        class: query\n        title: SQL Server must enforce discretionary access control policies, as defined by the data owner, over defined subjects and objects.\n      - vuln_id: V-213922\n        stig_id: SQL6-D0-002900\n        severity: medium\n        class: query\n        title: Execution of stored procedures and functions that utilize execute as must be restricted to necessary cases only.\n      - vuln_id: V-213924\n        stig_id: SQL6-D0-003100\n        severity: medium\n        class: query\n        title: SQL Server must enforce access restrictions associated with changes to the configuration of the database(s).\n      - vuln_id: V-213926\n        stig_id: SQL6-D0-003300\n        severity: high\n        class: query\n        title: SQL Server must implement cryptographic mechanisms to prevent unauthorized modification of organization-defined information at rest (to include, at a minimum, PII and classified information) on organization-defined information system components.\n      - vuln_id: V-251040\n        stig_id: SQL6-D0-003200\n        severity: high\n        class: query\n        title: SQL Server must use NSA-approved cryptography to protect classified information in accordance with the data owners requirements.\n  mssql-2016-instance:\n    engine: mssql\n    title: MS SQL Server 2016 Instance Security Technical Implementation Guide\n    version: V3R6\n    benchmark_date: 05 Jan 2026\n    rules:\n      - vuln_id: V-213929\n        stig_id: SQL6-D0-003600\n        severity: medium\n        class: query\n        title: SQL Server must limit the number of concurrent sessions to an organization-defined number per user for all accounts and/or account types.\n      - vuln_id: V-213930\n        stig_id: SQL6-D0-003700\n        severity: high\n        class: query\n        title: SQL Server must integrate with an organization-level authentication/access mechanism providing account management and automation for all users, groups, roles, and any other principals.\n      - vuln_id: V-213931\n        stig_id: SQL6-D0-003800\n        severity: medium\n        class: host\n        title: SQL Server must be configured to utilize the most-secure authentication method available.\n      - vuln_id: V-213932\n        stig_id: SQL6-D0-003900\n        severity: high\n        class: procedural\n        title: SQL Server must enforce approved authorizations for logical access to information and system resources in accordance with applicable access control policies.\n      - vuln_id: V-213933\n        stig_id: SQL6-D0-004000\n        severity: medium\n        class: procedural\n        title: SQL Server must protect against a user falsely repudiating by ensuring all accounts are individual, unique, and not shared.\n      - vuln_id: V-213934\n        stig_id: SQL6-D0-004100\n        severity: medium\n        class: query\n        title: SQL Server must protect against a user falsely repudiating by ensuring the NT AUTHORITY SYSTEM account is not used for administration.\n      - vuln_id: V-213935\n        stig_id: SQL6-D0-004200\n        severity: medium\n        class: query\n        title: SQL Server must protect against a user falsely repudiating by ensuring only clearly unique Active Directory user accounts can connect to the instance.\n      - vuln_id: V-213936\n        stig_id: SQL6-D0-004300\n        severity: medium\n        class: query\n        title: SQL Server must be configured to generate audit records for DoD-defined auditable events within all DBMS/database components.\n      - vuln_id: V-213937\n        stig_id: SQL6-D0-004400\n        severity: medium\n        class: query\n        title: SQL Server must allow only the ISSM (or individuals or roles appointed by the ISSM) to select which auditable events are to be audited.\n      - vuln_id: V-213939\n        stig_id: SQL6-D0-004600\n        severity: medium\n        class: query\n        title: SQL Server must generate audit records when attempts to access privileges, categorized information, and security objects occur.\n      - vuln_id: V-213940\n        stig_id: SQL6-D0-004700\n        severity: medium\n        class: query\n        title: SQL Server must initiate session auditing upon startup.\n      - vuln_id: V-213941\n        stig_id: SQL6-D0-005500\n        severity: medium\n        class: procedural\n        title: SQL Server must include additional, more detailed, organization-defined information in the audit records for audit events identified by type, location, or subject.\n      - vuln_id: V-213942\n        stig_id: SQL6-D0-005600\n        severity: medium\n        class: query\n        title: SQL Server must by default shut down upon audit failure, to include the unavailability of space for more audit log records; or must be configurable to shut down upon audit failure.\n      - vuln_id: V-213943\n        stig_id: SQL6-D0-005700\n        severity: medium\n        class: query\n        title: SQL Server must be configurable to overwrite audit log records, oldest first (First-In-First-Out - FIFO), in the event of unavailability of space for more audit log records.\n      - vuln_id: V-213944\n        stig_id: SQL6-D0-005900\n        severity: medium\n        class: query\n        title: The audit information produced by SQL Server must be protected from unauthorized access, modification, and deletion.\n      - vuln_id: V-213948\n        stig_id: SQL6-D0-006300\n        severity: medium\n        class: query\n        title: SQL Server must protect its audit configuration from authorized and unauthorized access and modification.\n      - vuln_id: V-213950\n        stig_id: SQL6-D0-006500\n        severity: medium\n        class: procedural\n        title: SQL Server must limit privileges to change software modules and links to software external to SQL Server.\n      - vuln_id: V-213951\n        stig_id: SQL6-D0-006600\n        severity: medium\n        class: procedural\n        title: SQL Server must limit privileges to change software modules, to include stored procedures, functions and triggers, and links to software external to SQL Server.\n      - vuln_id: V-213952\n        stig_id: SQL6-D0-006700\n        severity: high\n        class: procedural\n        title: SQL Server software installation account must be restricted to authorized users.\n      - vuln_id: V-213953\n        stig_id: SQL6-D0-006800\n        severity: medium\n        class: host\n        title: Database software, including DBMS configuration files, must be stored in dedicated directories, separate from the host OS and other applications.\n      - vuln_id: V-213954\n        stig_id: SQL6-D0-006900\n        severity: medium\n        class: procedural\n        title: Default demonstration and sample databases, database objects, and applications must be removed.\n      - vuln_id: V-213955\n        stig_id: SQL6-D0-007000\n        severity: medium\n        class: procedural\n        title: Unused database components, DBMS software, and database objects must be removed.\n      - vuln_id: V-213956\n        stig_id: SQL6-D0-007100\n        severity: medium\n        class: procedural\n        title: Unused database components that are integrated in SQL Server and cannot be uninstalled must be disabled.\n      - vuln_id: V-213957\n        stig_id: SQL6-D0-007200\n        severity: medium\n        class: query\n        title: Access to xp_cmdshell must be disabled, unless specifically required and approved.\n      - vuln_id: V-213958\n        stig_id: SQL6-D0-007300\n        severity: medium\n        class: query\n        title: Access to CLR code must be disabled or restricted, unless specifically required and approved.\n      - vuln_id: V-213959\n        stig_id: SQL6-D0-007400\n        severity: medium\n        class: query\n        title: Access to Non-Standard extended stored procedures must be disabled or restricted, unless specifically required and approved.\n      - vuln_id: V-213960\n        stig_id: SQL6-D0-007500\n        severity: medium\n        class: query\n        title: Access to linked servers must be disabled or restricted, unless specifically required and approved.\n      - vuln_id: V-213961\n        stig_id: SQL6-D0-007600\n        severity: medium\n        class: procedural\n        title: SQL Server must be configured to prohibit or restrict the use of organization-defined protocols as defined in the Ports, Protocols, and Services Management (PPSM) Category Assurance List (CAL) and vulnerability assessments.\n      - vuln_id: V-213964\n        stig_id: SQL6-D0-007900\n        severity: high\n        class: query\n        title: If DBMS authentication using passwords is employed, SQL Server must enforce the DOD standards for password complexity and lifetime.\n      - vuln_id: V-213965\n        stig_id: SQL6-D0-008000\n        severity: medium\n        class: query\n        title: Contained databases must use Windows principals.\n      - vuln_id: V-213966\n        stig_id: SQL6-D0-008200\n        severity: high\n        class: host\n        title: If passwords are used for authentication, SQL Server must transmit only encrypted representations of passwords.\n      - vuln_id: V-213967\n        stig_id: SQL6-D0-008300\n        severity: high\n        class: host\n        title: Confidentiality of information during transmission is controlled through the use of an approved TLS version.\n      - vuln_id: V-213968\n        stig_id: SQL6-D0-008400\n        severity: high\n        class: procedural\n        title: SQL Server must enforce authorized access to all PKI private keys stored/utilized by SQL Server.\n      - vuln_id: V-213969\n        stig_id: SQL6-D0-008700\n        severity: high\n        class: procedural\n        title: SQL Server must use NIST FIPS 140-2/140-3-validated cryptographic operations for encryption, hashing, and signing.\n      - vuln_id: V-213970\n        stig_id: SQL6-D0-008800\n        severity: medium\n        class: query\n        title: SQL Server must uniquely identify and authenticate non-organizational users (or processes acting on behalf of non-organizational users).\n      - vuln_id: V-213972\n        stig_id: SQL6-D0-009500\n        severity: high\n        class: query\n        title: SQL Server must protect the confidentiality and integrity of all information at rest.\n      - vuln_id: V-213973\n        stig_id: SQL6-D0-009600\n        severity: medium\n        class: procedural\n        title: The Service Master Key must be backed up and stored in a secure location that is not on the SQL Server.\n      - vuln_id: V-213974\n        stig_id: SQL6-D0-009700\n        severity: medium\n        class: procedural\n        title: The Master Key must be backed up and stored in a secure location that is not on the SQL Server.\n      - vuln_id: V-213975\n        stig_id: SQL6-D0-009800\n        severity: medium\n        class: query\n        title: SQL Server must prevent unauthorized and unintended information transfer via shared system resources.\n      - vuln_id: V-213976\n        stig_id: SQL6-D0-009900\n        severity: medium\n        class: host\n        title: SQL Server must prevent unauthorized and unintended information transfer via Instant File Initialization (IFI).\n      - vuln_id: V-213977\n        stig_id: SQL6-D0-010000\n        severity: medium\n        class: host\n        title: Access to database files must be limited to relevant processes and to authorized, administrative users.\n      - vuln_id: V-213978\n        stig_id: SQL6-D0-010100\n        severity: medium\n        class: query\n        title: SQL Server must reveal detailed error messages only to documented and approved individuals or roles.\n      - vuln_id: V-213979\n        stig_id: SQL6-D0-010400\n        severity: medium\n        class: query\n        title: SQL Server must prevent non-privileged users from executing privileged functions, to include disabling, circumventing, or altering implemented security safeguards/countermeasures.\n      - vuln_id: V-213980\n        stig_id: SQL6-D0-010500\n        severity: medium\n        class: query\n        title: Use of credentials and proxies must be restricted to necessary cases only.\n      - vuln_id: V-213983\n        stig_id: SQL6-D0-010900\n        severity: medium\n        class: query\n        title: SQL Server must allocate audit record storage capacity in accordance with organization-defined audit record storage requirements.\n      - vuln_id: V-213984\n        stig_id: SQL6-D0-011000\n        severity: medium\n        class: procedural\n        title: SQL Server must provide a warning to appropriate support staff when allocated audit record storage volume reaches 75% of maximum audit record storage capacity.\n      - vuln_id: V-213985\n        stig_id: SQL6-D0-011100\n        severity: medium\n        class: procedural\n        title: SQL Server must provide an immediate real-time alert to appropriate support staff of all audit log failures.\n      - vuln_id: V-213986\n        stig_id: SQL6-D0-011200\n        severity: medium\n        class: procedural\n        title: SQL Server must record time stamps in audit records and application data that can be mapped to Coordinated Universal Time (UTC, formerly GMT).\n      - vuln_id: V-213987\n        stig_id: SQL6-D0-011400\n        severity: medium\n        class: query\n        title: SQL Server must enforce access restrictions associated with changes to the configuration of the instance.\n      - vuln_id: V-213988\n        stig_id: SQL6-D0-011500\n        severity: medium\n        class: procedural\n        title: Windows must enforce access restrictions associated with changes to the configuration of the SQL Server instance.\n      - vuln_id: V-213989\n        stig_id: SQL6-D0-011800\n        severity: medium\n        class: query\n        title: SQL Server must produce audit records when attempts to modify SQL Server configuration and privileges occur within the database(s).\n      - vuln_id: V-213991\n        stig_id: SQL6-D0-012300\n        severity: medium\n        class: query\n        title: SQL Server must maintain a separate execution domain for each executing process.\n      - vuln_id: V-213992\n        stig_id: SQL6-D0-012400\n        severity: medium\n        class: host\n        title: SQL Server services must be configured to run under unique dedicated user accounts.\n      - vuln_id: V-213993\n        stig_id: SQL6-D0-012700\n        severity: medium\n        class: procedural\n        title: When updates are applied to SQL Server software, any software components that have been replaced or made unnecessary must be removed.\n      - vuln_id: V-213994\n        stig_id: SQL6-D0-012800\n        severity: medium\n        class: procedural\n        title: Security-relevant software updates to SQL Server must be installed within the time period directed by an authoritative source (e.g. IAVM, CTOs, DTMs, and STIGs).\n      - vuln_id: V-214000\n        stig_id: SQL6-D0-013400\n        severity: medium\n        class: query\n        title: SQL Server must generate audit records when successful and unsuccessful attempts to add privileges/permissions occur.\n      - vuln_id: V-214002\n        stig_id: SQL6-D0-013600\n        severity: medium\n        class: query\n        title: SQL Server must generate audit records when successful and unsuccessful attempts to modify privileges/permissions occur.\n      - vuln_id: V-214004\n        stig_id: SQL6-D0-013800\n        severity: medium\n        class: query\n        title: SQL Server must generate audit records when successful and unsuccessful attempts to modify security objects occur.\n      - vuln_id: V-214008\n        stig_id: SQL6-D0-014200\n        severity: medium\n        class: query\n        title: SQL Server must generate audit records when successful and unsuccessful attempts to delete privileges/permissions occur.\n      - vuln_id: V-214014\n        stig_id: SQL6-D0-014800\n        severity: medium\n        class: query\n        title: SQL Server must generate audit records when successful and unsuccessful logons or connection attempts occur.\n      - vuln_id: V-214021\n        stig_id: SQL6-D0-015500\n        severity: medium\n        class: query\n        title: SQL Server must generate audit records for all direct access to the database(s).\n      - vuln_id: V-214025\n        stig_id: SQL6-D0-015900\n        severity: medium\n        class: procedural\n        title: The system SQL Server must off-load audit data to a separate log management facility; this must be continuous and in near real time for systems with a network connection to the storage facility and weekly or more often for stand-alone systems.\n      - vuln_id: V-214026\n        stig_id: SQL6-D0-016000\n        severity: medium\n        class: host\n        title: SQL Server must configure Customer Feedback and Error Reporting.\n      - vuln_id: V-214027\n        stig_id: SQL6-D0-016100\n        severity: medium\n        class: query\n        title: SQL Server must configure SQL Server Usage and Error Reporting Auditing.\n      - vuln_id: V-214028\n        stig_id: SQL6-D0-016200\n        severity: high\n        class: query\n        title: The SQL Server default account [sa] must be disabled.\n      - vuln_id: V-214029\n        stig_id: SQL6-D0-016300\n        severity: medium\n        class: query\n        title: SQL Server default account [sa] must have its name changed.\n      - vuln_id: V-214030\n        stig_id: SQL6-D0-016400\n        severity: medium\n        class: query\n        title: Execution of startup stored procedures must be restricted to necessary cases only.\n      - vuln_id: V-214031\n        stig_id: SQL6-D0-016500\n        severity: medium\n        class: query\n        title: SQL Server Mirroring endpoint must utilize AES encryption.\n      - vuln_id: V-214032\n        stig_id: SQL6-D0-016600\n        severity: medium\n        class: query\n        title: SQL Server Service Broker endpoint must utilize AES encryption.\n      - vuln_id: V-214033\n        stig_id: SQL6-D0-016700\n        severity: medium\n        class: query\n        title: SQL Server execute permissions to access the registry must be revoked, unless specifically required and approved.\n      - vuln_id: V-214034\n        stig_id: SQL6-D0-016800\n        severity: medium\n        class: query\n        title: Filestream must be disabled, unless specifically required and approved.\n      - vuln_id: V-214035\n        stig_id: SQL6-D0-017000\n        severity: medium\n        class: query\n        title: Ole Automation Procedures feature must be disabled, unless specifically required and approved.\n      - vuln_id: V-214036\n        stig_id: SQL6-D0-017100\n        severity: medium\n        class: query\n        title: SQL Server User Options feature must be disabled, unless specifically required and approved.\n      - vuln_id: V-214037\n        stig_id: SQL6-D0-017200\n        severity: medium\n        class: query\n        title: Remote Access feature must be disabled, unless specifically required and approved.\n      - vuln_id: V-214038\n        stig_id: SQL6-D0-017400\n        severity: medium\n        class: query\n        title: Hadoop Connectivity feature must be disabled, unless specifically required and approved.\n      - vuln_id: V-214039\n        stig_id: SQL6-D0-017500\n        severity: medium\n        class: query\n        title: Allow Polybase Export feature must be disabled, unless specifically required and approved.\n      - vuln_id: V-214040\n        stig_id: SQL6-D0-017600\n        severity: medium\n        class: query\n        title: Remote Data Archive feature must be disabled, unless specifically required and approved.\n      - vuln_id: V-214041\n        stig_id: SQL6-D0-017700\n        severity: medium\n        class: query\n        title: SQL Server External Scripts Enabled feature must be disabled, unless specifically required and approved.\n      - vuln_id: V-214042\n        stig_id: SQL6-D0-017800\n        severity: low\n        class: procedural\n        title: The SQL Server Browser service must be disabled unless specifically required and approved.\n      - vuln_id: V-214043\n        stig_id: SQL6-D0-017900\n        severity: medium\n        class: query\n        title: SQL Server Replication Xps feature must be disabled, unless specifically required and approved.\n      - vuln_id: V-214044\n        stig_id: SQL6-D0-018000\n        severity: low\n        class: procedural\n        title: If the SQL Server Browser Service is specifically required and approved, SQL instances must be hidden.\n      - vuln_id: V-214045\n        stig_id: SQL6-D0-018100\n        severity: high\n        class: query\n        title: When using command-line tools such as SQLCMD in a mixed-mode authentication environment, users must use a logon method that does not expose the password.\n      - vuln_id: V-214046\n        stig_id: SQL6-D0-018200\n        severity: high\n        class: procedural\n        title: Applications must obscure feedback of authentication information during the authentication process to protect the information from possible exploitation/use by unauthorized individuals.\n      - vuln_id: V-265870\n        stig_id: SQL6-D0-018300\n        severity: high\n        class: query\n        title: Microsoft SQL Server products must be a version supported by the vendor.\n  mssql-2022-database:\n    engine: mssql\n    title: Microsoft SQL Server 2022 Database Security Technical Implementation Guide\n    version: V1R3\n    benchmark_date: 01 Apr 2026\n    rules:\n      - vuln_id: V-271118\n        stig_id: SQLD-22-000100\n        severity: high\n        class: query\n        title: SQL Server must integrate with an organization-level authentication/access mechanism providing account management and automation for all users, groups, roles, and any other principals.\n      - vuln_id: V-271119\n        stig_id: SQLD-22-000300\n        severity: high\n        class: procedural\n        title: SQL Server must enforce approved authorizations for logical access to information and system resources in accordance with applicable access control policies.\n      - vuln_id: V-271121\n        stig_id: SQLD-22-000500\n        severity: medium\n        class: query\n        title: SQL Server must protect against a user falsely repudiating by using system-versioned tables (Temporal Tables).\n      - vuln_id: V-271122\n        stig_id: SQLD-22-000600\n        severity: medium\n        class: query\n        title: SQL Server must protect against a user falsely repudiating by ensuring databases are not in a trust relationship.\n      - vuln_id: V-271124\n        stig_id: SQLD-22-000700\n        severity: medium\n        class: query\n        title: SQL Server must allow only the information system security manager (ISSM) (or individuals or roles appointed by the ISSM) to select which auditable events are to be audited.\n      - vuln_id: V-271143\n        stig_id: SQLD-22-001200\n        severity: medium\n        class: query\n        title: SQL Server must limit privileges to change software modules, to include stored procedures, functions, and triggers, and links to software external to SQL Server.\n      - vuln_id: V-271146\n        stig_id: SQLD-22-001300\n        severity: medium\n        class: query\n        title: Database objects (including but not limited to tables, indexes, storage, stored procedures, functions, triggers, links to software external to SQL Server, etc.) must be owned by database/DBMS principals authorized for ownership.\n      - vuln_id: V-271147\n        stig_id: SQLD-22-001400\n        severity: medium\n        class: query\n        title: The role(s)/group(s) used to modify database structure (including but not limited to tables, indexes, storage, etc.) and logic modules (stored procedures, functions, triggers, links to software external to SQL Server, etc.) must be restricted to authorized users.\n      - vuln_id: V-271168\n        stig_id: SQLD-22-001500\n        severity: medium\n        class: query\n        title: In the event of a system failure, hardware loss or disk failure, SQL Server must be able to restore necessary databases with least disruption to mission processes.\n      - vuln_id: V-271169\n        stig_id: SQLD-22-001600\n        severity: medium\n        class: query\n        title: The Database Master Key encryption password must meet DOD password complexity requirements.\n      - vuln_id: V-271170\n        stig_id: SQLD-22-001700\n        severity: medium\n        class: query\n        title: The Database Master Key must be encrypted by the Service Master Key, where a Database Master Key is required and another encryption method has not been specified.\n      - vuln_id: V-271171\n        stig_id: SQLD-22-001800\n        severity: medium\n        class: procedural\n        title: The certificate used for encryption must be backed up and stored in a secure location that is not on the SQL Server.\n      - vuln_id: V-271172\n        stig_id: SQLD-22-001900\n        severity: medium\n        class: procedural\n        title: SQL Server must isolate security functions from nonsecurity functions.\n      - vuln_id: V-271173\n        stig_id: SQLD-22-002000\n        severity: medium\n        class: procedural\n        title: Database contents must be protected from unauthorized and unintended information transfer by enforcement of a data transfer policy.\n      - vuln_id: V-271176\n        stig_id: SQLD-22-002100\n        severity: medium\n        class: procedural\n        title: SQL Server must check the validity of all data inputs except those specifically identified by the organization.\n      - vuln_id: V-271179\n        stig_id: SQLD-22-002400\n        severity: medium\n        class: procedural\n        title: SQL Server must provide nonprivileged users with error messages that provide information necessary for corrective actions without revealing information that could be exploited by adversaries.\n      - vuln_id: V-271184\n        stig_id: SQLD-22-002600\n        severity: medium\n        class: procedural\n        title: SQL Server must associate organization-defined types of security labels having organization-defined security label values with information in process, transit, or storage.\n      - vuln_id: V-271186\n        stig_id: SQLD-22-002800\n        severity: medium\n        class: query\n        title: SQL Server must enforce discretionary access control (DAC) policies, as defined by the data owner, over defined subjects and objects.\n      - vuln_id: V-271188\n        stig_id: SQLD-22-002900\n        severity: medium\n        class: query\n        title: Execution of stored procedures and functions that use execute as must be restricted to necessary cases only.\n      - vuln_id: V-271195\n        stig_id: SQLD-22-003100\n        severity: medium\n        class: query\n        title: SQL Server must enforce access restrictions associated with changes to the configuration of the database(s).\n      - vuln_id: V-271199\n        stig_id: SQLD-22-003200\n        severity: high\n        class: query\n        title: SQL Server must use NSA-approved cryptography to protect classified information in accordance with the data owner’s requirements.\n      - vuln_id: V-271201\n        stig_id: SQLD-22-003300\n        severity: high\n        class: query\n        title: SQL Server must implement cryptographic mechanisms to prevent unauthorized modification or disclosure of organization-defined information at rest (to include, at a minimum, PII and classified information) on organization-defined information system components.\n      - vuln_id: V-283667\n        stig_id: SQLD-22-004250\n        severity: medium\n        class: query\n        title: SQL Server must protect against a user falsely repudiating by ensuring that only unique Active Directory user accounts can connect to the database.\n  mssql-2022-instance:\n    engine: mssql\n    title: Microsoft SQL Server 2022 Instance Security Technical Implementation Guide\n    version: V1R4\n    benchmark_date: 01 Apr 2026\n    rules:\n      - vuln_id: V-271263\n        stig_id: SQLI-22-003600\n        severity: medium\n        class: query\n        title: SQL Server must limit the number of concurrent sessions to an organization-defined number per user for all accounts and/or account types.\n      - vuln_id: V-271264\n        stig_id: SQLI-22-003800\n        severity: high\n        class: host\n        title: SQL Server must be configured to use the most-secure authentication method available.\n      - vuln_id: V-271265\n        stig_id: SQLI-22-003700\n        severity: high\n        class: query\n        title: SQL Server must integrate with an organization-level authentication/access mechanism providing account management and automation for all users, groups, roles, and any other principals.\n      - vuln_id: V-271266\n        stig_id: SQLI-22-003900\n        severity: high\n        class: procedural\n        title: SQL Server must enforce approved authorizations for logical access to information and system resources in accordance with applicable access control policies.\n      - vuln_id: V-271267\n        stig_id: SQLI-22-004200\n        severity: medium\n        class: query\n        title: SQL Server must protect against a user falsely repudiating by ensuring only clearly unique Active Directory user accounts can connect to the instance.\n      - vuln_id: V-271268\n        stig_id: SQLI-22-004100\n        severity: medium\n        class: query\n        title: SQL Server must protect against a user falsely repudiating by ensuring the NT AUTHORITY SYSTEM account is not used for administration.\n      - vuln_id: V-271269\n        stig_id: SQLI-22-004000\n        severity: medium\n        class: procedural\n        title: SQL Server must protect against a user falsely repudiating by ensuring all accounts are individual, unique, and not shared.\n      - vuln_id: V-271270\n        stig_id: SQLI-22-004300\n        severity: medium\n        class: query\n        title: SQL Server must be configured to generate audit records for DOD-defined auditable events within all DBMS/database components.\n      - vuln_id: V-271271\n        stig_id: SQLI-22-004400\n        severity: medium\n        class: query\n        title: SQL Server must allow only the information system security manager (ISSM) (or individuals or roles appointed by the ISSM) to select which auditable events are to be audited.\n      - vuln_id: V-271272\n        stig_id: SQLI-22-004600\n        severity: medium\n        class: query\n        title: SQL Server must generate audit records when attempts to access privileges, categorized information, and security objects occur.\n      - vuln_id: V-271273\n        stig_id: SQLI-22-004700\n        severity: medium\n        class: query\n        title: SQL Server must initiate session auditing upon startup.\n      - vuln_id: V-271280\n        stig_id: SQLI-22-005500\n        severity: medium\n        class: procedural\n        title: SQL Server must include additional, more detailed, organization-defined information in the audit records for audit events identified by type, location, or subject.\n      - vuln_id: V-271282\n        stig_id: SQLI-22-005900\n        severity: medium\n        class: query\n        title: The audit information produced by SQL Server must be protected from unauthorized access, modification, and deletion.\n      - vuln_id: V-271283\n        stig_id: SQLI-22-006300\n        severity: medium\n        class: query\n        title: SQL Server must protect its audit configuration from authorized and unauthorized access and modification.\n      - vuln_id: V-271284\n        stig_id: SQLI-22-006600\n        severity: medium\n        class: procedural\n        title: SQL Server must limit privileges to change software modules, to include stored procedures, functions and triggers, and links to software external to SQL Server.\n      - vuln_id: V-271285\n        stig_id: SQLI-22-006500\n        severity: medium\n        class: procedural\n        title: SQL Server must limit privileges to change software modules and links to software external to SQL Server.\n      - vuln_id: V-271286\n        stig_id: SQLI-22-006700\n        severity: high\n        class: procedural\n        title: SQL Server software installation account must be restricted to authorized users.\n      - vuln_id: V-271287\n        stig_id: SQLI-22-006800\n        severity: medium\n        class: host\n        title: Database software, including DBMS configuration files, must be stored in dedicated directories, separate from the host OS and other applications.\n      - vuln_id: V-271290\n        stig_id: SQLI-22-006900\n        severity: medium\n        class: query\n        title: Default demonstration and sample databases, database objects, and applications must be removed.\n      - vuln_id: V-271291\n        stig_id: SQLI-22-007000\n        severity: medium\n        class: procedural\n        title: Unused database components, DBMS software, and database objects must be removed.\n      - vuln_id: V-271292\n        stig_id: SQLI-22-017900\n        severity: medium\n        class: query\n        title: The SQL Server Replication Xps feature must be disabled unless specifically required and approved.\n      - vuln_id: V-271293\n        stig_id: SQLI-22-017700\n        severity: medium\n        class: query\n        title: The SQL Server External Scripts Enabled feature must be disabled, unless specifically required and approved.\n      - vuln_id: V-271295\n        stig_id: SQLI-22-017600\n        severity: medium\n        class: query\n        title: The remote Data Archive feature must be disabled unless specifically required and approved.\n      - vuln_id: V-271296\n        stig_id: SQLI-22-017500\n        severity: medium\n        class: query\n        title: The \"Allow Polybase Export\" feature must be disabled, unless specifically required and approved.\n      - vuln_id: V-271297\n        stig_id: SQLI-22-017400\n        severity: medium\n        class: query\n        title: The \"Hadoop Connectivity\" feature must be disabled unless specifically required and approved.\n      - vuln_id: V-271298\n        stig_id: SQLI-22-017200\n        severity: medium\n        class: query\n        title: The \"Remote Access\" feature must be disabled unless specifically required and approved.\n      - vuln_id: V-271299\n        stig_id: SQLI-22-007500\n        severity: medium\n        class: query\n        title: Access to linked servers must be disabled or restricted, unless specifically required and approved.\n      - vuln_id: V-271300\n        stig_id: SQLI-22-007400\n        severity: medium\n        class: query\n        title: Access to nonstandard, extended stored procedures must be disabled or restricted, unless specifically required and approved.\n      - vuln_id: V-271301\n        stig_id: SQLI-22-007300\n        severity: medium\n        class: query\n        title: Access to common language runtime (CLR) code must be disabled or restricted unless specifically required and approved.\n      - vuln_id: V-271302\n        stig_id: SQLI-22-007200\n        severity: medium\n        class: query\n        title: Access to xp_cmdshell must be disabled unless specifically required and approved.\n      - vuln_id: V-271303\n        stig_id: SQLI-22-007700\n        severity: medium\n        class: query\n        title: SQL Server must be configured to prohibit or restrict the use of organization-defined ports, as defined in the Ports, Protocols, and Services Management (PPSM) Category Assurance List (CAL) and vulnerability assessments.\n      - vuln_id: V-271304\n        stig_id: SQLI-22-007600\n        severity: medium\n        class: query\n        title: SQL Server must be configured to prohibit or restrict the use of organization-defined protocols as defined in the Ports, Protocols, and Services Management (PPSM) Category Assurance List (CAL) and vulnerability assessments.\n      - vuln_id: V-271305\n        stig_id: SQLI-22-007800\n        severity: medium\n        class: query\n        title: SQL Server must uniquely identify and authenticate users (or processes acting on behalf of organizational users).\n      - vuln_id: V-271306\n        stig_id: SQLI-22-008000\n        severity: high\n        class: query\n        title: Contained databases must use Windows principals.\n      - vuln_id: V-271307\n        stig_id: SQLI-22-007900\n        severity: high\n        class: query\n        title: If DBMS authentication using passwords is employed, SQL Server must enforce the DOD standards for password complexity and lifetime.\n      - vuln_id: V-271309\n        stig_id: SQLI-22-008200\n        severity: high\n        class: host\n        title: If passwords are used for authentication, SQL Server must transmit only encrypted representations of passwords.\n      - vuln_id: V-271310\n        stig_id: SQLI-22-008300\n        severity: high\n        class: host\n        title: Confidentiality of information during transmission must be controlled through the use of an approved TLS version.\n      - vuln_id: V-271313\n        stig_id: SQLI-22-018100\n        severity: high\n        class: query\n        title: When using command-line tools such as SQLCMD in a mixed-mode authentication environment, users must use a logon method that does not expose the password.\n      - vuln_id: V-271314\n        stig_id: SQLI-22-008700\n        severity: high\n        class: procedural\n        title: SQL Server must use NIST FIPS 140-2 or 140-3 validated cryptographic operations for encryption, hashing, and signing.\n      - vuln_id: V-271322\n        stig_id: SQLI-22-009700\n        severity: high\n        class: procedural\n        title: The Master Key must be backed up and stored in a secure location that is not on the SQL Server.\n      - vuln_id: V-271323\n        stig_id: SQLI-22-009600\n        severity: high\n        class: procedural\n        title: The Service Master Key must be backed up and stored in a secure location that is not on the SQL Server.\n      - vuln_id: V-271324\n        stig_id: SQLI-22-009500\n        severity: high\n        class: query\n        title: SQL Server must protect the confidentiality and integrity of all information at rest.\n      - vuln_id: V-271327\n        stig_id: SQLI-22-009900\n        severity: medium\n        class: query\n        title: SQL Server must prevent unauthorized and unintended information transfer via Instant File Initialization (IFI).\n      - vuln_id: V-271328\n        stig_id: SQLI-22-009800\n        severity: medium\n        class: query\n        title: SQL Server must prevent unauthorized and unintended information transfer via shared system resources.\n      - vuln_id: V-271329\n        stig_id: SQLI-22-010000\n        severity: medium\n        class: host\n        title: Access to database files must be limited to relevant processes and to authorized, administrative users.\n      - vuln_id: V-271331\n        stig_id: SQLI-22-010010\n        severity: medium\n        class: procedural\n        title: SQL Server and associated applications must reserve the use of dynamic code execution for situations that require it.\n      - vuln_id: V-271332\n        stig_id: SQLI-22-010020\n        severity: medium\n        class: procedural\n        title: SQL Server and associated applications, when making use of dynamic code execution, must scan input data for invalid values that may indicate a code injection attack.\n      - vuln_id: V-271334\n        stig_id: SQLI-22-010100\n        severity: medium\n        class: query\n        title: SQL Server must reveal detailed error messages only to documented and approved individuals or roles.\n      - vuln_id: V-271341\n        stig_id: SQLI-22-010400\n        severity: medium\n        class: query\n        title: SQL Server must prevent nonprivileged users from executing privileged functions, to include disabling, circumventing, or altering implemented security safeguards/countermeasures.\n      - vuln_id: V-271342\n        stig_id: SQLI-22-010500\n        severity: medium\n        class: query\n        title: Use of credentials and proxies must be restricted to necessary cases only.\n      - vuln_id: V-271343\n        stig_id: SQLI-22-010900\n        severity: medium\n        class: query\n        title: SQL Server must allocate audit record storage capacity in accordance with organization-defined audit record storage requirements.\n      - vuln_id: V-271344\n        stig_id: SQLI-22-011000\n        severity: medium\n        class: procedural\n        title: SQL Server must provide a warning to appropriate support staff when allocated audit record storage volume reaches 75 percent of maximum audit record storage capacity.\n      - vuln_id: V-271345\n        stig_id: SQLI-22-011100\n        severity: medium\n        class: procedural\n        title: SQL Server must provide an immediate real-time alert to appropriate support staff of all audit log failures.\n      - vuln_id: V-271346\n        stig_id: SQLI-22-011200\n        severity: medium\n        class: procedural\n        title: SQL Server must record time stamps in audit records and application data that can be mapped to Coordinated Universal Time (UTC), formerly Greenwich Mean Time (GMT).\n      - vuln_id: V-271349\n        stig_id: SQLI-22-011500\n        severity: medium\n        class: procedural\n        title: Windows must enforce access restrictions associated with changes to the configuration of the SQL Server instance.\n      - vuln_id: V-271350\n        stig_id: SQLI-22-011400\n        severity: medium\n        class: query\n        title: SQL Server must enforce access restrictions associated with changes to the configuration of the instance.\n      - vuln_id: V-271351\n        stig_id: SQLI-22-011800\n        severity: medium\n        class: query\n        title: SQL Server must produce audit records when attempts to modify SQL Server configuration and privileges occur within the database(s).\n      - vuln_id: V-271358\n        stig_id: SQLI-22-012400\n        severity: medium\n        class: query\n        title: SQL Server services must be configured to run under unique dedicated user accounts.\n      - vuln_id: V-271359\n        stig_id: SQLI-22-012300\n        severity: medium\n        class: query\n        title: SQL Server must maintain a separate execution domain for each executing process.\n      - vuln_id: V-271362\n        stig_id: SQLI-22-012600\n        severity: medium\n        class: procedural\n        title: When invalid inputs are received, the SQL Server must behave in a predictable and documented manner that reflects organizational and system objectives.\n      - vuln_id: V-271364\n        stig_id: SQLI-22-012800\n        severity: medium\n        class: procedural\n        title: Security-relevant software updates to SQL Server must be installed within the time period directed by an authoritative source (e.g., IAVM, CTOs, DTMs, and STIGs).\n      - vuln_id: V-271365\n        stig_id: SQLI-22-018300\n        severity: high\n        class: query\n        title: Microsoft SQL Server products must be a version supported by the vendor.\n      - vuln_id: V-271370\n        stig_id: SQLI-22-013800\n        severity: medium\n        class: query\n        title: SQL Server must generate audit records when successful and unsuccessful attempts to modify or delete security objects occur.\n      - vuln_id: V-271375\n        stig_id: SQLI-22-014800\n        severity: medium\n        class: query\n        title: SQL Server must generate audit records when successful and unsuccessful logons or connection attempts occur.\n      - vuln_id: V-271381\n        stig_id: SQLI-22-015500\n        severity: medium\n        class: query\n        title: SQL Server must generate audit records for all direct access to the database(s).\n      - vuln_id: V-271385\n        stig_id: SQLI-22-015900\n        severity: medium\n        class: procedural\n        title: The system SQL Server must off-load audit data to a separate log management facility; this must be continuous and in near real time for systems with a network connection to the storage facility and weekly or more often for stand-alone systems.\n      - vuln_id: V-271387\n        stig_id: SQLI-22-017800\n        severity: medium\n        class: procedural\n        title: The SQL Server Browser service must be disabled unless specifically required and approved.\n      - vuln_id: V-271388\n        stig_id: SQLI-22-016100\n        severity: medium\n        class: query\n        title: SQL Server must configure SQL Server Usage and Error Reporting Auditing.\n      - vuln_id: V-271389\n        stig_id: SQLI-22-016000\n        severity: medium\n        class: host\n        title: SQL Server must configure Customer Feedback and Error Reporting.\n      - vuln_id: V-271400\n        stig_id: SQLI-22-019500\n        severity: medium\n        class: procedural\n        title: SQL Server must, for password-based authentication, require immediate selection of a new password upon account recovery.\n      - vuln_id: V-274444\n        stig_id: SQLI-22-016200\n        severity: medium\n        class: query\n        title: The SQL Server default account [sa] must be disabled.\n      - vuln_id: V-274445\n        stig_id: SQLI-22-016300\n        severity: medium\n        class: query\n        title: The SQL Server default account [sa] must have its name changed.\n      - vuln_id: V-274446\n        stig_id: SQLI-22-016400\n        severity: medium\n        class: query\n        title: Execution of startup stored procedures must be restricted to necessary cases only.\n      - vuln_id: V-274447\n        stig_id: SQLI-22-016500\n        severity: medium\n        class: query\n        title: The SQL Server Mirroring endpoint must use AES encryption.\n      - vuln_id: V-274448\n        stig_id: SQLI-22-016600\n        severity: medium\n        class: query\n        title: The SQL Server Service Broker endpoint must use AES encryption.\n      - vuln_id: V-274449\n        stig_id: SQLI-22-016700\n        severity: medium\n        class: query\n        title: SQL Server execute permissions to access the registry must be revoked unless specifically required and approved.\n      - vuln_id: V-274450\n        stig_id: SQLI-22-016800\n        severity: medium\n        class: query\n        title: Filestream must be disabled unless specifically required and approved.\n      - vuln_id: V-274451\n        stig_id: SQLI-22-017000\n        severity: medium\n        class: query\n        title: The Ole Automation Procedures feature must be disabled unless specifically required and approved.\n      - vuln_id: V-274452\n        stig_id: SQLI-22-017100\n        severity: medium\n        class: query\n        title: The SQL Server User Options feature must be disabled unless specifically required and approved.\n  mysql-8.0:\n    engine: mysql\n    title: Oracle MySQL 8.0 Security Technical Implementation Guide\n    version: V2R2\n    benchmark_date: 24 Oct 2024\n    rules:\n      - vuln_id: V-235095\n        stig_id: MYS8-00-000100\n        severity: high\n        class: query\n        title: MySQL Database Server 8.0 must integrate with an organization-level authentication/access mechanism providing account management and automation for all users, groups, roles, and any other principals.\n      - vuln_id: V-235096\n        stig_id: MYS8-00-000200\n        severity: medium\n        class: query\n        title: MySQL Database Server 8.0  must limit the number of concurrent sessions to an organization-defined number per user for all accounts and/or account types.\n      - vuln_id: V-235097\n        stig_id: MYS8-00-000300\n        severity: medium\n        class: query\n        title: MySQL Database Server 8.0  must produce audit records containing sufficient information to establish what type of events occurred.\n      - vuln_id: V-235098\n        stig_id: MYS8-00-000800\n        severity: medium\n        class: procedural\n        title: The MySQL Database Server 8.0 must include additional, more detailed, organizationally defined information in the audit records for audit events identified by type, location, or subject.\n      - vuln_id: V-235099\n        stig_id: MYS8-00-001200\n        severity: medium\n        class: query\n        title: The audit information produced by the MySQL Database Server 8.0 must be protected from unauthorized read access.\n      - vuln_id: V-235100\n        stig_id: MYS8-00-001300\n        severity: medium\n        class: query\n        title: The audit information produced by the MySQL Database Server 8.0 must be protected from unauthorized modification.\n      - vuln_id: V-235101\n        stig_id: MYS8-00-001400\n        severity: medium\n        class: query\n        title: The audit information produced by the MySQL Database Server 8.0 must be protected from unauthorized deletion.\n      - vuln_id: V-235102\n        stig_id: MYS8-00-001500\n        severity: medium\n        class: procedural\n        title: The MySQL Database Server 8.0 must protect against a user falsely repudiating having performed organization-defined actions.\n      - vuln_id: V-235103\n        stig_id: MYS8-00-001600\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must be configured to provide audit record generation capability for DoD-defined auditable events within all database components.\n      - vuln_id: V-235104\n        stig_id: MYS8-00-001700\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must allow only the Information System Security Manager (ISSM) (or individuals or roles appointed by the ISSM) to select which auditable events are to be audited.\n      - vuln_id: V-235105\n        stig_id: MYS8-00-001800\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must be able to generate audit records when privileges/permissions are retrieved.\n      - vuln_id: V-235106\n        stig_id: MYS8-00-001900\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must be able to generate audit records when unsuccessful attempts to retrieve privileges/permissions occur.\n      - vuln_id: V-235107\n        stig_id: MYS8-00-002000\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must be able to generate audit records when security objects are accessed.\n      - vuln_id: V-235108\n        stig_id: MYS8-00-002100\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records when unsuccessful attempts to access security objects occur.\n      - vuln_id: V-235109\n        stig_id: MYS8-00-002200\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records when categories of information (e.g., classification levels/security levels) are accessed.\n      - vuln_id: V-235110\n        stig_id: MYS8-00-002300\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records when unsuccessful attempts to access categories of information (e.g., classification levels/security levels) occur.\n      - vuln_id: V-235111\n        stig_id: MYS8-00-002400\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records when privileges/permissions are added.\n      - vuln_id: V-235112\n        stig_id: MYS8-00-002500\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records when unsuccessful attempts to add privileges/permissions occur.\n      - vuln_id: V-235113\n        stig_id: MYS8-00-002600\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records when privileges/permissions are modified.\n      - vuln_id: V-235114\n        stig_id: MYS8-00-002700\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records when unsuccessful attempts to modify privileges/permissions occur.\n      - vuln_id: V-235115\n        stig_id: MYS8-00-002800\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records when security objects are modified.\n      - vuln_id: V-235116\n        stig_id: MYS8-00-002900\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records when unsuccessful attempts to modify security objects occur.\n      - vuln_id: V-235117\n        stig_id: MYS8-00-003000\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records when categories of information (e.g., classification levels/security levels) are modified.\n      - vuln_id: V-235118\n        stig_id: MYS8-00-003100\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records when unsuccessful attempts to modify categories of information (e.g., classification levels/security levels) occur.\n      - vuln_id: V-235119\n        stig_id: MYS8-00-003200\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records when privileges/permissions are deleted.\n      - vuln_id: V-235120\n        stig_id: MYS8-00-003300\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records when unsuccessful attempts to delete privileges/permissions occur.\n      - vuln_id: V-235121\n        stig_id: MYS8-00-003400\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records when security objects are deleted.\n      - vuln_id: V-235122\n        stig_id: MYS8-00-003500\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records when unsuccessful attempts to delete security objects occur.\n      - vuln_id: V-235123\n        stig_id: MYS8-00-003600\n        severity: medium\n        class: procedural\n        title: The MySQL Database Server 8.0 must generate audit records when categories of information (e.g., classification levels/security levels) are deleted.\n      - vuln_id: V-235124\n        stig_id: MYS8-00-003700\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records when unsuccessful attempts to delete categories of information (e.g., classification levels/security levels) occur.\n      - vuln_id: V-235125\n        stig_id: MYS8-00-003800\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records when successful logons or connections occur.\n      - vuln_id: V-235126\n        stig_id: MYS8-00-003900\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records when unsuccessful logons or connection attempts occur.\n      - vuln_id: V-235127\n        stig_id: MYS8-00-004000\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records for all privileged activities or other system-level access.\n      - vuln_id: V-235128\n        stig_id: MYS8-00-004100\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records when unsuccessful attempts to execute privileged activities or other system-level access occur.\n      - vuln_id: V-235129\n        stig_id: MYS8-00-004200\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records showing starting and ending time for user access to the database(s).\n      - vuln_id: V-235130\n        stig_id: MYS8-00-004300\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records when concurrent logons/connections by the same user from different workstations.\n      - vuln_id: V-235131\n        stig_id: MYS8-00-004400\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must be able to generate audit records when successful accesses to objects occur.\n      - vuln_id: V-235132\n        stig_id: MYS8-00-004500\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records when unsuccessful accesses to objects occur.\n      - vuln_id: V-235133\n        stig_id: MYS8-00-004600\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must generate audit records for all direct access to the database(s).\n      - vuln_id: V-235134\n        stig_id: MYS8-00-004700\n        severity: medium\n        class: procedural\n        title: The MySQL Database Server 8.0, when utilizing PKI-based authentication, must validate certificates by performing RFC 5280-compliant certification path validation.\n      - vuln_id: V-235135\n        stig_id: MYS8-00-004800\n        severity: high\n        class: host\n        title: The MySQL Database Server 8.0 must enforce authorized access to all PKI private keys stored/utilized by the MySQL Database Server 8.0.\n      - vuln_id: V-235136\n        stig_id: MYS8-00-004900\n        severity: medium\n        class: procedural\n        title: The MySQL Database Server 8.0 must map the PKI-authenticated identity to an associated user account.\n      - vuln_id: V-235137\n        stig_id: MYS8-00-005000\n        severity: high\n        class: query\n        title: If Database Management System (DBMS) authentication using passwords is employed, the DBMS must enforce the DOD standards for password complexity and lifetime.\n      - vuln_id: V-235138\n        stig_id: MYS8-00-005100\n        severity: medium\n        class: query\n        title: If passwords are used for authentication, the MySQL Database Server 8.0 must store only hashed, salted representations of passwords.\n      - vuln_id: V-235139\n        stig_id: MYS8-00-005200\n        severity: high\n        class: query\n        title: If passwords are used for authentication, the MySQL Database Server 8.0 must transmit only encrypted representations of passwords.\n      - vuln_id: V-235140\n        stig_id: MYS8-00-005300\n        severity: high\n        class: procedural\n        title: The MySQL Database Server 8.0 must obscure feedback of authentication information during the authentication process to protect the information from possible exploitation/use by unauthorized individuals.\n      - vuln_id: V-235141\n        stig_id: MYS8-00-005400\n        severity: high\n        class: query\n        title: The MySQL Database Server 8.0 must enforce approved authorizations for logical access to information and system resources in accordance with applicable access control policies.\n      - vuln_id: V-235142\n        stig_id: MYS8-00-005500\n        severity: medium\n        class: procedural\n        title: The MySQL Database Server 8.0 must be configured in accordance with the security configuration settings based on DoD security configuration and implementation guidance, including STIGs, NSA configuration guides, CTOs, DTMs, and IAVMs.\n      - vuln_id: V-235143\n        stig_id: MYS8-00-005600\n        severity: medium\n        class: query\n        title: Default demonstration and sample databases, database objects, and applications must be removed.\n      - vuln_id: V-235144\n        stig_id: MYS8-00-005700\n        severity: medium\n        class: query\n        title: Unused database components, MySQL Database Server 8.0 software, and database objects must be removed.\n      - vuln_id: V-235145\n        stig_id: MYS8-00-005800\n        severity: medium\n        class: query\n        title: Unused database components which are integrated in the MySQL Database Server 8.0 and cannot be uninstalled must be disabled.\n      - vuln_id: V-235146\n        stig_id: MYS8-00-006000\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must be configured to prohibit or restrict the use of organization-defined functions, ports, protocols, and/or services, as defined in the PPSM CAL and vulnerability assessments.\n      - vuln_id: V-235147\n        stig_id: MYS8-00-006100\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must uniquely identify and authenticate organizational users (or processes acting on behalf of organizational users).\n      - vuln_id: V-235148\n        stig_id: MYS8-00-006200\n        severity: high\n        class: query\n        title: The MySQL Database Server 8.0 must use NIST FIPS 140-2 or 140-3 validated cryptographic modules for cryptographic operations.\n      - vuln_id: V-235149\n        stig_id: MYS8-00-006300\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must uniquely identify and authenticate non-organizational users (or processes acting on behalf of non-organizational users).\n      - vuln_id: V-235150\n        stig_id: MYS8-00-006400\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must separate user functionality (including user interface services) from database management functionality.\n      - vuln_id: V-235151\n        stig_id: MYS8-00-006500\n        severity: medium\n        class: procedural\n        title: The MySQL Database Server 8.0 must isolate security functions from non-security functions.\n      - vuln_id: V-235152\n        stig_id: MYS8-00-006600\n        severity: medium\n        class: procedural\n        title: Database contents must be protected from unauthorized and unintended information transfer by enforcement of a data-transfer policy.\n      - vuln_id: V-235153\n        stig_id: MYS8-00-006800\n        severity: medium\n        class: query\n        title: Access to database files must be limited to relevant processes and to authorized, administrative users.\n      - vuln_id: V-235154\n        stig_id: MYS8-00-007000\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must maintain the authenticity of communications sessions by guarding against man-in-the-middle attacks that guess at Session ID values.\n      - vuln_id: V-235155\n        stig_id: MYS8-00-007200\n        severity: high\n        class: query\n        title: The MySQL Database Server 8.0 must protect the confidentiality and integrity of all information at rest.\n      - vuln_id: V-235156\n        stig_id: MYS8-00-007300\n        severity: medium\n        class: procedural\n        title: The MySQL Database Server 8.0 must check the validity of all data inputs except those specifically identified by the organization.\n      - vuln_id: V-235157\n        stig_id: MYS8-00-007400\n        severity: medium\n        class: procedural\n        title: The MySQL Database Server 8.0 and associated applications must reserve the use of dynamic code execution for situations that require it.\n      - vuln_id: V-235158\n        stig_id: MYS8-00-007500\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 and associated applications, when making use of dynamic code execution, must scan input data for invalid values that may indicate a code injection attack.\n      - vuln_id: V-235159\n        stig_id: MYS8-00-007800\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must initiate session auditing upon startup.\n      - vuln_id: V-235160\n        stig_id: MYS8-00-008000\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must protect its audit features from unauthorized access.\n      - vuln_id: V-235161\n        stig_id: MYS8-00-008100\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must protect its audit configuration from unauthorized modification.\n      - vuln_id: V-235162\n        stig_id: MYS8-00-008200\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must protect its audit features from unauthorized removal.\n      - vuln_id: V-235163\n        stig_id: MYS8-00-008300\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must limit privileges to change software modules, to include stored procedures, functions and triggers, and links to software external to the MySQL Database Server 8.0.\n      - vuln_id: V-235164\n        stig_id: MYS8-00-008400\n        severity: medium\n        class: procedural\n        title: The MySQL Database Server 8.0 software installation account must be restricted to authorized users.\n      - vuln_id: V-235165\n        stig_id: MYS8-00-008500\n        severity: medium\n        class: query\n        title: Database software, including MySQL Database Server 8.0 configuration files, must be stored in dedicated directories, or DASD pools (remove), separate from the host OS and other applications.\n      - vuln_id: V-235166\n        stig_id: MYS8-00-008700\n        severity: medium\n        class: query\n        title: The role(s)/group(s) used to modify database structure (including but not necessarily limited to tables, indexes, storage, etc.) and logic modules (stored procedures, functions, triggers, links to software external to the MySQL Database Server 8.0, etc.) must be restricted to authorized users.\n      - vuln_id: V-235167\n        stig_id: MYS8-00-009000\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must disable network functions, ports, protocols, and services deemed by the organization to be nonsecure, in accord with the Ports, Protocols, and Services Management (PPSM) guidance.\n      - vuln_id: V-235168\n        stig_id: MYS8-00-009100\n        severity: medium\n        class: procedural\n        title: The MySQL Database Server 8.0 must prohibit user installation of logic modules (stored procedures, functions, triggers, views, etc.) without explicit privileged status.\n      - vuln_id: V-235169\n        stig_id: MYS8-00-009200\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must enforce access restrictions associated with changes to the configuration of the MySQL Database Server 8.0 or database(s).\n      - vuln_id: V-235170\n        stig_id: MYS8-00-009300\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must produce audit records of its enforcement of access restrictions associated with changes to the configuration of the MySQL Database Server 8.0 or database(s).\n      - vuln_id: V-235173\n        stig_id: MYS8-00-009600\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must allocate audit record storage capacity in accordance with organization-defined audit record storage requirements.\n      - vuln_id: V-235174\n        stig_id: MYS8-00-009700\n        severity: medium\n        class: procedural\n        title: The MySQL Database Server 8.0 must off-load audit data to a separate log management facility; this must be continuous and in near real time for systems with a network connection to the storage facility and weekly or more often for stand-alone systems.\n      - vuln_id: V-235175\n        stig_id: MYS8-00-009800\n        severity: medium\n        class: procedural\n        title: The MySQL Database Server 8.0 must provide a warning to appropriate support staff when allocated audit record storage volume reaches 75 percent of maximum audit record storage capacity.\n      - vuln_id: V-235176\n        stig_id: MYS8-00-009900\n        severity: medium\n        class: procedural\n        title: The MySQL Database Server 8.0 must provide an immediate real-time alert to appropriate support staff of all audit log failures.\n      - vuln_id: V-235177\n        stig_id: MYS8-00-010300\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must prohibit the use of cached authenticators after an organization-defined time period.\n      - vuln_id: V-235178\n        stig_id: MYS8-00-010400\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must require users to reauthenticate when organization-defined circumstances or situations require reauthentication.\n      - vuln_id: V-235179\n        stig_id: MYS8-00-010500\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must enforce discretionary access control policies, as defined by the data owner, over defined subjects and objects.\n      - vuln_id: V-235180\n        stig_id: MYS8-00-010600\n        severity: medium\n        class: query\n        title: Execution of software modules (to include stored procedures, functions, and triggers) with elevated privileges must be restricted to necessary cases only.\n      - vuln_id: V-235181\n        stig_id: MYS8-00-010700\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must prevent non-privileged users from executing privileged functions, to include disabling, circumventing, or altering implemented security safeguards/countermeasures.\n      - vuln_id: V-235182\n        stig_id: MYS8-00-010800\n        severity: medium\n        class: procedural\n        title: The MySQL Database Server 8.0 must associate organization-defined types of security labels having organization-defined security label values with information in storage.\n      - vuln_id: V-235183\n        stig_id: MYS8-00-010900\n        severity: medium\n        class: procedural\n        title: The MySQL Database Server 8.0 must associate organization-defined types of security labels having organization-defined security label values with information in process.\n      - vuln_id: V-235184\n        stig_id: MYS8-00-011000\n        severity: medium\n        class: procedural\n        title: The MySQL Database Server 8.0 must associate organization-defined types of security labels having organization-defined security label values with information in transmission.\n      - vuln_id: V-235185\n        stig_id: MYS8-00-011100\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must automatically terminate a user session after organization-defined conditions or trigger events requiring session disconnect.\n      - vuln_id: V-235186\n        stig_id: MYS8-00-011300\n        severity: medium\n        class: procedural\n        title: The MySQL Database Server 8.0 must maintain the confidentiality and integrity of information during preparation for transmission.\n      - vuln_id: V-235187\n        stig_id: MYS8-00-011500\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must use NSA-approved cryptography to protect classified information in accordance with the data owner's requirements.\n      - vuln_id: V-235188\n        stig_id: MYS8-00-011600\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must implement NIST FIPS 140-2 or 140-3 validated cryptographic modules to provision digital signatures.\n      - vuln_id: V-235189\n        stig_id: MYS8-00-011700\n        severity: high\n        class: query\n        title: The MySQL Database Server 8.0 must implement NIST FIPS 140-2 or 140-3 validated cryptographic modules to generate and validate cryptographic hashes.\n      - vuln_id: V-235190\n        stig_id: MYS8-00-011800\n        severity: medium\n        class: query\n        title: The MySQL Database Server 8.0 must implement NIST FIPS 140-2 or 140-3 validated cryptographic modules to protect unclassified information requiring confidentiality and cryptographic protection, in accordance with the data owner's requirements.\n      - vuln_id: V-235191\n        stig_id: MYS8-00-011900\n        severity: medium\n        class: procedural\n        title: The MySQL Database Server 8.0 must only accept end entity certificates issued by DoD PKI or DoD-approved PKI Certification Authorities (CAs) for the establishment of all encrypted sessions.\n      - vuln_id: V-235192\n        stig_id: MYS8-00-012000\n        severity: high\n        class: query\n        title: The MySQL Database Server 8.0 must implement cryptographic mechanisms to prevent unauthorized modification of organization-defined information at rest (to include, at a minimum, PII and classified information) on organization-defined information system components.\n      - vuln_id: V-235193\n        stig_id: MYS8-00-012100\n        severity: high\n        class: query\n        title: The MySQL Database Server 8.0 must implement cryptographic mechanisms preventing the unauthorized disclosure of organization-defined information at rest on organization-defined information system components.\n      - vuln_id: V-235194\n        stig_id: MYS8-00-012300\n        severity: medium\n        class: query\n        title: Security-relevant software updates to the MySQL Database Server 8.0 must be installed within the time period directed by an authoritative source (e.g., IAVM, CTOs, DTMs, and STIGs).\n      - vuln_id: V-235195\n        stig_id: MYS8-00-012500\n        severity: medium\n        class: query\n        title: When invalid inputs are received, the MySQL Database Server 8.0 must behave in a predictable and documented manner that reflects organizational and system objectives.\n      - vuln_id: V-265876\n        stig_id: MYS8-00-012600\n        severity: high\n        class: query\n        title: MySQL database products must be a version supported by the vendor.\n  oracle-19c:\n    engine: oracle\n    title: Oracle Database 19c Security Technical Implementation Guide\n    version: V1R5\n    benchmark_date: 01 Apr 2026\n    rules:\n      - vuln_id: V-270495\n        stig_id: O19C-00-000100\n        severity: medium\n        class: query\n        title: Oracle Database must limit the number of concurrent sessions for each system account to an organization-defined number of sessions.\n      - vuln_id: V-270496\n        stig_id: O19C-00-000200\n        severity: medium\n        class: query\n        title: Oracle Database must protect against or limit the effects of organization-defined types of denial-of-service (DoS) attacks.\n      - vuln_id: V-270497\n        stig_id: O19C-00-000300\n        severity: medium\n        class: query\n        title: Oracle Database must automatically terminate a user session after organization-defined conditions or trigger events requiring session disconnect.\n      - vuln_id: V-270498\n        stig_id: O19C-00-000500\n        severity: medium\n        class: procedural\n        title: Oracle Database must associate organization-defined types of security labels having organization-defined security label values with information in storage.\n      - vuln_id: V-270499\n        stig_id: O19C-00-000800\n        severity: high\n        class: procedural\n        title: Oracle Database must integrate with an organization-level authentication/access mechanism providing account management and automation for all users, groups, roles, and any other principals.\n      - vuln_id: V-270500\n        stig_id: O19C-00-001000\n        severity: high\n        class: query\n        title: Oracle Database must enforce approved authorizations for logical access to the system in accordance with applicable policy.\n      - vuln_id: V-270501\n        stig_id: O19C-00-001700\n        severity: low\n        class: query\n        title: Oracle Database must protect against an individual who uses a shared account falsely denying having performed a particular action.\n      - vuln_id: V-270502\n        stig_id: O19C-00-001800\n        severity: medium\n        class: query\n        title: Oracle Database must provide audit record generation capability for organization-defined auditable events within the database.\n      - vuln_id: V-270503\n        stig_id: O19C-00-001900\n        severity: medium\n        class: procedural\n        title: Oracle Database must allow designated organizational personnel to select which auditable events are to be audited by the database.\n      - vuln_id: V-270504\n        stig_id: O19C-00-002000\n        severity: medium\n        class: query\n        title: Oracle Database must generate audit records for the DOD-selected list of auditable events, when successfully accessed, added, modified, or deleted, to the extent such information is available.\n      - vuln_id: V-270505\n        stig_id: O19C-00-005600\n        severity: medium\n        class: query\n        title: Oracle Database must include organization-defined additional, more detailed information in the audit records for audit events identified by type, location, or subject.\n      - vuln_id: V-270506\n        stig_id: O19C-00-005700\n        severity: medium\n        class: query\n        title: Oracle Database must allocate audit record storage capacity in accordance with organization-defined audit record storage requirements.\n      - vuln_id: V-270507\n        stig_id: O19C-00-005800\n        severity: medium\n        class: procedural\n        title: Oracle Database must off-load audit data to a separate log management facility; this must be continuous and in near-real-time for systems with a network connection to the storage facility, and weekly or more often for stand-alone systems.\n      - vuln_id: V-270508\n        stig_id: O19C-00-005900\n        severity: medium\n        class: procedural\n        title: The Oracle Database, or the logging or alerting mechanism the application uses, must provide a warning when allocated audit record storage volume record storage volume reaches 75 percent of maximum audit record storage capacity.\n      - vuln_id: V-270509\n        stig_id: O19C-00-006000\n        severity: medium\n        class: procedural\n        title: Oracle Database must provide an immediate real-time alert to appropriate support staff of all audit log failures.\n      - vuln_id: V-270510\n        stig_id: O19C-00-006600\n        severity: medium\n        class: query\n        title: The audit information produced by the Oracle Database must be protected from unauthorized access, modification, or deletion.\n      - vuln_id: V-270511\n        stig_id: O19C-00-006900\n        severity: medium\n        class: procedural\n        title: The system must protect audit tools from unauthorized access, modification, or deletion.\n      - vuln_id: V-270512\n        stig_id: O19C-00-007300\n        severity: medium\n        class: host\n        title: Oracle Database must support enforcement of logical access restrictions associated with changes to the database management system (DBMS) configuration and to the database itself.\n      - vuln_id: V-270513\n        stig_id: O19C-00-007400\n        severity: high\n        class: query\n        title: Oracle Database products must be a version supported by the vendor.\n      - vuln_id: V-270514\n        stig_id: O19C-00-007700\n        severity: medium\n        class: procedural\n        title: Database software, applications, and configuration files must be monitored to discover unauthorized changes.\n      - vuln_id: V-270515\n        stig_id: O19C-00-007900\n        severity: medium\n        class: host\n        title: The OS must limit privileges to change the database management system (DBMS) software resident within software libraries (including privileged programs).\n      - vuln_id: V-270516\n        stig_id: O19C-00-008000\n        severity: high\n        class: procedural\n        title: The Oracle Database software installation account must be restricted to authorized users.\n      - vuln_id: V-270517\n        stig_id: O19C-00-008100\n        severity: medium\n        class: host\n        title: Database software directories, including database management system (DBMS) configuration files, must be stored in dedicated directories, or DASD pools, separate from the host OS and other applications.\n      - vuln_id: V-270518\n        stig_id: O19C-00-008200\n        severity: medium\n        class: query\n        title: Database objects must be owned by accounts authorized for ownership.\n      - vuln_id: V-270519\n        stig_id: O19C-00-008300\n        severity: medium\n        class: query\n        title: The role(s)/group(s) used to modify database structure (including but not necessarily limited to tables, indexes, storage, etc.) and logic modules (stored procedures, functions, triggers, links to software external to the DBMS, etc.) must be restricted to authorized users.\n      - vuln_id: V-270520\n        stig_id: O19C-00-008400\n        severity: medium\n        class: host\n        title: Oracle Database must be configured in accordance with the security configuration settings based on DOD security configuration and implementation guidance, including STIGs, NSA configuration guides, CTOs, DTMs, and IAVMs.\n      - vuln_id: V-270521\n        stig_id: O19C-00-008600\n        severity: medium\n        class: query\n        title: Oracle instance names must not contain Oracle version numbers.\n      - vuln_id: V-270522\n        stig_id: O19C-00-008700\n        severity: medium\n        class: query\n        title: Fixed user and PUBLIC Database links must be authorized for use.\n      - vuln_id: V-270523\n        stig_id: O19C-00-009000\n        severity: medium\n        class: query\n        title: The Oracle WITH GRANT OPTION privilege must be limited when granted to nondatabase administrator (DBA) or nonapplication administrator user accounts.\n      - vuln_id: V-270524\n        stig_id: O19C-00-009200\n        severity: medium\n        class: query\n        title: The Oracle REMOTE_OS_ROLES parameter must be set to FALSE.\n      - vuln_id: V-270525\n        stig_id: O19C-00-009300\n        severity: medium\n        class: query\n        title: The Oracle SQL92_SECURITY parameter must be set to TRUE.\n      - vuln_id: V-270526\n        stig_id: O19C-00-009400\n        severity: medium\n        class: query\n        title: The Oracle password file ownership and permissions should be limited and the REMOTE_LOGIN_PASSWORDFILE parameter must be set to EXCLUSIVE or NONE.\n      - vuln_id: V-270527\n        stig_id: O19C-00-009500\n        severity: medium\n        class: query\n        title: System privileges granted using the WITH ADMIN OPTION must not be granted to unauthorized user accounts.\n      - vuln_id: V-270528\n        stig_id: O19C-00-009600\n        severity: medium\n        class: query\n        title: System Privileges must not be granted to PUBLIC.\n      - vuln_id: V-270529\n        stig_id: O19C-00-009700\n        severity: medium\n        class: query\n        title: Oracle roles granted using the WITH ADMIN OPTION must not be granted to unauthorized accounts.\n      - vuln_id: V-270530\n        stig_id: O19C-00-009800\n        severity: medium\n        class: query\n        title: Object permissions granted to PUBLIC must be restricted.\n      - vuln_id: V-270531\n        stig_id: O19C-00-009900\n        severity: high\n        class: procedural\n        title: The Oracle Listener must be configured to require administration authentication.\n      - vuln_id: V-270532\n        stig_id: O19C-00-010000\n        severity: medium\n        class: query\n        title: Application role permissions must not be assigned to the Oracle PUBLIC role.\n      - vuln_id: V-270533\n        stig_id: O19C-00-010100\n        severity: medium\n        class: query\n        title: Oracle application administration roles must be disabled if not required and authorized.\n      - vuln_id: V-270534\n        stig_id: O19C-00-010400\n        severity: medium\n        class: query\n        title: The directories assigned to the LOG_ARCHIVE_DEST* parameters must be protected from unauthorized access.\n      - vuln_id: V-270535\n        stig_id: O19C-00-010500\n        severity: medium\n        class: query\n        title: The Oracle _TRACE_FILES_PUBLIC parameter if present must be set to FALSE.\n      - vuln_id: V-270536\n        stig_id: O19C-00-010600\n        severity: medium\n        class: procedural\n        title: Oracle Database production application and data directories must be protected from developers on shared production/development database management system (DBMS) host systems.\n      - vuln_id: V-270537\n        stig_id: O19C-00-010700\n        severity: medium\n        class: procedural\n        title: Use of the Oracle Database installation account must be logged.\n      - vuln_id: V-270538\n        stig_id: O19C-00-010800\n        severity: medium\n        class: host\n        title: The Oracle Database data files, transaction logs and audit files must be stored in dedicated directories or disk partitions separate from software or other application files.\n      - vuln_id: V-270539\n        stig_id: O19C-00-011200\n        severity: medium\n        class: host\n        title: Network access to Oracle Database must be restricted to authorized personnel.\n      - vuln_id: V-270540\n        stig_id: O19C-00-011300\n        severity: medium\n        class: query\n        title: Changes to configuration options must be audited.\n      - vuln_id: V-270541\n        stig_id: O19C-00-011500\n        severity: medium\n        class: query\n        title: The /diag subdirectory under the directory assigned to the DIAGNOSTIC_DEST parameter must be protected from unauthorized access.\n      - vuln_id: V-270542\n        stig_id: O19C-00-011600\n        severity: medium\n        class: host\n        title: Remote administration must be disabled for the Oracle connection manager.\n      - vuln_id: V-270543\n        stig_id: O19C-00-011700\n        severity: medium\n        class: host\n        title: Network client connections must be restricted to supported versions.\n      - vuln_id: V-270544\n        stig_id: O19C-00-011800\n        severity: high\n        class: host\n        title: Database administrator (DBA) OS accounts must be granted only those host system privileges necessary for the administration of the Oracle Database.\n      - vuln_id: V-270545\n        stig_id: O19C-00-011900\n        severity: high\n        class: query\n        title: Oracle Database default accounts must be assigned custom passwords.\n      - vuln_id: V-270546\n        stig_id: O19C-00-012000\n        severity: medium\n        class: query\n        title: Oracle Database must provide a mechanism to automatically identify accounts designated as temporary or emergency accounts.\n      - vuln_id: V-270547\n        stig_id: O19C-00-012100\n        severity: medium\n        class: procedural\n        title: Oracle Database must provide a mechanism to automatically remove or disable temporary user accounts after 72 hours.\n      - vuln_id: V-270548\n        stig_id: O19C-00-012200\n        severity: medium\n        class: host\n        title: Oracle Database must be protected from unauthorized access by developers on shared production/development host systems.\n      - vuln_id: V-270549\n        stig_id: O19C-00-012300\n        severity: medium\n        class: query\n        title: Oracle Database must verify account lockouts persist until reset by an administrator.\n      - vuln_id: V-270550\n        stig_id: O19C-00-012400\n        severity: medium\n        class: query\n        title: Oracle Database must set the maximum number of consecutive invalid logon attempts to three.\n      - vuln_id: V-270551\n        stig_id: O19C-00-012500\n        severity: medium\n        class: query\n        title: Oracle Database must disable user accounts after 35 days of inactivity.\n      - vuln_id: V-270552\n        stig_id: O19C-00-012900\n        severity: medium\n        class: query\n        title: Oracle Database default demonstration and sample databases, database objects, and applications must be removed.\n      - vuln_id: V-270553\n        stig_id: O19C-00-013000\n        severity: medium\n        class: query\n        title: Unused database components, database management system (DBMS) software, and database objects must be removed.\n      - vuln_id: V-270554\n        stig_id: O19C-00-013100\n        severity: medium\n        class: query\n        title: Unused database components that are integrated in the database management system (DBMS) and cannot be uninstalled must be disabled.\n      - vuln_id: V-270555\n        stig_id: O19C-00-013200\n        severity: medium\n        class: query\n        title: OS accounts used to run external procedures called by Oracle Database must have limited privileges.\n      - vuln_id: V-270556\n        stig_id: O19C-00-013300\n        severity: medium\n        class: query\n        title: Use of external executables must be authorized.\n      - vuln_id: V-270557\n        stig_id: O19C-00-013400\n        severity: medium\n        class: host\n        title: Access to external executables must be disabled or restricted.\n      - vuln_id: V-270558\n        stig_id: O19C-00-013500\n        severity: medium\n        class: host\n        title: Oracle Database must be configured to prohibit or restrict the use of organization-defined functions, ports, protocols, and/or services, as defined in the Ports, Protocols, and Services Management Category Assurance List (PPSM CAL) and vulnerability assessments.\n      - vuln_id: V-270559\n        stig_id: O19C-00-013700\n        severity: medium\n        class: procedural\n        title: Oracle Database must ensure users are authenticated with an individual authenticator prior to using a shared authenticator.\n      - vuln_id: V-270560\n        stig_id: O19C-00-013800\n        severity: medium\n        class: procedural\n        title: Oracle Database must uniquely identify and authenticate organizational users (or processes acting on behalf of organizational users).\n      - vuln_id: V-270561\n        stig_id: O19C-00-013900\n        severity: medium\n        class: query\n        title: Oracle Database must enforce the DOD standards for password complexity.\n      - vuln_id: V-270562\n        stig_id: O19C-00-014600\n        severity: medium\n        class: procedural\n        title: Procedures for establishing temporary passwords that meet DOD password requirements for new accounts must be defined, documented, and implemented.\n      - vuln_id: V-270563\n        stig_id: O19C-00-014700\n        severity: medium\n        class: query\n        title: Oracle Database must enforce password maximum lifetime restrictions.\n      - vuln_id: V-270564\n        stig_id: O19C-00-014800\n        severity: high\n        class: procedural\n        title: Oracle Database must, for password-based authentication, store passwords using an approved salted key derivation function, preferably using a keyed hash.\n      - vuln_id: V-270565\n        stig_id: O19C-00-014900\n        severity: medium\n        class: host\n        title: If passwords are used for authentication, the Oracle Database must transmit only encrypted representations of passwords.\n      - vuln_id: V-270566\n        stig_id: O19C-00-015200\n        severity: high\n        class: host\n        title: Oracle Database, when using public key infrastructure (PKI)-based authentication, must enforce authorized access to the corresponding private key.\n      - vuln_id: V-270567\n        stig_id: O19C-00-015300\n        severity: medium\n        class: procedural\n        title: Oracle Database must map the authenticated identity to the user account using public key infrastructure (PKI)-based authentication.\n      - vuln_id: V-270568\n        stig_id: O19C-00-015400\n        severity: high\n        class: procedural\n        title: When using command-line tools such as Oracle SQL*Plus, which can accept a plain-text password, users must use an alternative logon method that does not expose the password.\n      - vuln_id: V-270569\n        stig_id: O19C-00-015500\n        severity: high\n        class: procedural\n        title: Oracle Database must use NIST-validated FIPS 140-2/140-3 compliant cryptography for authentication mechanisms.\n      - vuln_id: V-270570\n        stig_id: O19C-00-015600\n        severity: medium\n        class: procedural\n        title: Oracle Database must uniquely identify and authenticate nonorganizational users (or processes acting on behalf of nonorganizational users).\n      - vuln_id: V-270571\n        stig_id: O19C-00-016000\n        severity: high\n        class: query\n        title: Oracle Database must implement NIST FIPS 140-2/140-3 validated cryptographic modules to protect unclassified information requiring confidentiality and cryptographic protection, in accordance with the data owner's requirements.\n      - vuln_id: V-270572\n        stig_id: O19C-00-016100\n        severity: medium\n        class: procedural\n        title: Oracle Database must separate user functionality (including user interface services) from database management functionality.\n      - vuln_id: V-270573\n        stig_id: O19C-00-016700\n        severity: medium\n        class: procedural\n        title: Oracle Database must preserve any organization-defined system state information in the event of a system failure.\n      - vuln_id: V-270574\n        stig_id: O19C-00-016800\n        severity: high\n        class: query\n        title: Oracle Database must take steps to protect data at rest and ensure confidentiality and integrity of application data.\n      - vuln_id: V-270575\n        stig_id: O19C-00-016900\n        severity: medium\n        class: host\n        title: Oracle Database must implement cryptographic mechanisms to prevent unauthorized modification of organization-defined information at rest (to include, at a minimum, PII and classified information) on organization-defined information system components.\n      - vuln_id: V-270576\n        stig_id: O19C-00-017100\n        severity: medium\n        class: procedural\n        title: Oracle Database must isolate security functions from nonsecurity functions by means of separate security domains.\n      - vuln_id: V-270577\n        stig_id: O19C-00-017400\n        severity: medium\n        class: procedural\n        title: Oracle Database contents must be protected from unauthorized and unintended information transfer by enforcement of a data-transfer policy.\n      - vuln_id: V-270578\n        stig_id: O19C-00-017600\n        severity: medium\n        class: host\n        title: Access to Oracle Database files must be limited to relevant processes and to authorized, administrative users.\n      - vuln_id: V-270579\n        stig_id: O19C-00-017700\n        severity: high\n        class: procedural\n        title: Oracle Database must employ cryptographic mechanisms preventing the unauthorized disclosure of information during transmission unless the transmitted data is otherwise protected by alternative physical measures.\n      - vuln_id: V-270580\n        stig_id: O19C-00-017900\n        severity: medium\n        class: procedural\n        title: Oracle Database must check the validity of data inputs.\n      - vuln_id: V-270581\n        stig_id: O19C-00-018000\n        severity: medium\n        class: procedural\n        title: The database management system (DBMS) and associated applications must reserve the use of dynamic code execution for situations that require it.\n      - vuln_id: V-270582\n        stig_id: O19C-00-018100\n        severity: medium\n        class: procedural\n        title: The database management system (DBMS) and associated applications, when making use of dynamic code execution, must take steps against invalid values that may be used in a SQL injection attack, therefore resulting in steps to prevent a SQL injection attack.\n      - vuln_id: V-270583\n        stig_id: O19C-00-018300\n        severity: medium\n        class: procedural\n        title: Oracle Database must only generate error messages that provide information necessary for corrective actions without revealing organization-defined sensitive or potentially harmful information in error logs and administrative messages that could be exploited.\n      - vuln_id: V-270584\n        stig_id: O19C-00-018400\n        severity: medium\n        class: procedural\n        title: Oracle Database must restrict error messages so only authorized personnel may view them.\n      - vuln_id: V-270585\n        stig_id: O19C-00-018600\n        severity: high\n        class: query\n        title: Oracle Database software must be evaluated and patched against newly found vulnerabilities.\n      - vuln_id: V-270587\n        stig_id: O19C-00-019800\n        severity: medium\n        class: query\n        title: Oracle Database must, for password-based authentication, verify that when users create or update passwords, the passwords are not found on the list of commonly used, expected, or compromised passwords in IA-5 (1) (a).\n      - vuln_id: V-270588\n        stig_id: O19C-00-019900\n        severity: medium\n        class: procedural\n        title: Oracle Database must, for password-based authentication, require immediate selection of a new password upon account recovery.\n      - vuln_id: V-270589\n        stig_id: O19C-00-020400\n        severity: medium\n        class: host\n        title: Oracle Database must include only approved trust anchors in trust stores or certificate stores managed by the organization.\n      - vuln_id: V-275999\n        stig_id: O19C-00-020500\n        severity: medium\n        class: query\n        title: A minimum of three Oracle Control Files must be created and each stored on a separate physical and logical device.\n      - vuln_id: V-276000\n        stig_id: O19C-00-020600\n        severity: medium\n        class: query\n        title: A minimum of three Oracle redo log groups/files must be defined and configured to be stored on separate, archived physical disks or archived directories on a RAID device. In addition, each Oracle redo log group must have a minimum of two Oracle redo log members (files).\n  postgresql-crunchy-16:\n    engine: postgresql\n    title: Crunchy Data Postgres 16 Security Technical Implementation Guide\n    version: V1R3\n    benchmark_date: 01 Jul 2026\n    rules:\n      - vuln_id: V-261857\n        stig_id: CD16-00-000100\n        severity: medium\n        class: query\n        title: PostgreSQL must limit the number of concurrent sessions to an organization-defined number per user for all accounts and/or account types.\n      - vuln_id: V-261858\n        stig_id: CD16-00-000200\n        severity: high\n        class: query\n        title: PostgreSQL must integrate with an organization-level authentication/access mechanism providing account management and automation for all users, groups, roles, and any other principals.\n      - vuln_id: V-261859\n        stig_id: CD16-00-000300\n        severity: high\n        class: query\n        title: PostgreSQL must enforce approved authorizations for logical access to information and system resources in accordance with applicable access control policies.\n      - vuln_id: V-261860\n        stig_id: CD16-00-000400\n        severity: medium\n        class: query\n        title: PostgreSQL must protect against a user falsely repudiating having performed organization-defined actions.\n      - vuln_id: V-261861\n        stig_id: CD16-00-000500\n        severity: medium\n        class: query\n        title: PostgreSQL must provide audit record generation capability for DOD-defined auditable events within all DBMS/database components.\n      - vuln_id: V-261862\n        stig_id: CD16-00-000600\n        severity: medium\n        class: query\n        title: PostgreSQL must allow only the information system security manager (ISSM), or individuals or roles appointed by the ISSM, to select which events are to be audited.\n      - vuln_id: V-261863\n        stig_id: CD16-00-000700\n        severity: medium\n        class: query\n        title: PostgreSQL must be able to generate audit records when privileges/permissions are retrieved.\n      - vuln_id: V-261864\n        stig_id: CD16-00-000800\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when unsuccessful attempts to retrieve privileges/permissions occur.\n      - vuln_id: V-261865\n        stig_id: CD16-00-000900\n        severity: medium\n        class: query\n        title: PostgreSQL must initiate session auditing upon startup.\n      - vuln_id: V-261866\n        stig_id: CD16-00-001000\n        severity: medium\n        class: query\n        title: PostgreSQL must produce audit records containing sufficient information to establish what type of events occurred.\n      - vuln_id: V-261867\n        stig_id: CD16-00-001100\n        severity: medium\n        class: query\n        title: PostgreSQL must produce audit records containing time stamps to establish when the events occurred.\n      - vuln_id: V-261868\n        stig_id: CD16-00-001200\n        severity: medium\n        class: query\n        title: PostgreSQL must produce audit records containing sufficient information to establish where the events occurred.\n      - vuln_id: V-261869\n        stig_id: CD16-00-001300\n        severity: medium\n        class: query\n        title: PostgreSQL must produce audit records containing sufficient information to establish the sources (origins) of the events.\n      - vuln_id: V-261870\n        stig_id: CD16-00-001400\n        severity: medium\n        class: query\n        title: PostgreSQL must produce audit records containing sufficient information to establish the outcome (success or failure) of the events.\n      - vuln_id: V-261871\n        stig_id: CD16-00-001500\n        severity: medium\n        class: query\n        title: PostgreSQL must produce audit records containing sufficient information to establish the identity of any user/subject or process associated with the event.\n      - vuln_id: V-261872\n        stig_id: CD16-00-001600\n        severity: medium\n        class: host\n        title: PostgreSQL must include additional, more detailed, organization-defined information in the audit records for audit events identified by type, location, or subject.\n      - vuln_id: V-261873\n        stig_id: CD16-00-001700\n        severity: medium\n        class: procedural\n        title: PostgreSQL must, by default, shut down upon audit failure, to include the unavailability of space for more audit log records; or must be configurable to shut down upon audit failure.\n      - vuln_id: V-261874\n        stig_id: CD16-00-001800\n        severity: medium\n        class: host\n        title: PostgreSQL must be configurable to overwrite audit log records, oldest first (first-in-first-out [FIFO]), in the event of unavailability of space for more audit log records.\n      - vuln_id: V-261875\n        stig_id: CD16-00-002000\n        severity: medium\n        class: query\n        title: The audit information produced by PostgreSQL must be protected from unauthorized read access.\n      - vuln_id: V-261876\n        stig_id: CD16-00-002100\n        severity: medium\n        class: query\n        title: The audit information produced by PostgreSQL must be protected from unauthorized modification.\n      - vuln_id: V-261877\n        stig_id: CD16-00-002200\n        severity: medium\n        class: query\n        title: The audit information produced by PostgreSQL must be protected from unauthorized deletion.\n      - vuln_id: V-261878\n        stig_id: CD16-00-002300\n        severity: medium\n        class: query\n        title: PostgreSQL must protect its audit features from unauthorized access.\n      - vuln_id: V-261879\n        stig_id: CD16-00-002400\n        severity: medium\n        class: query\n        title: PostgreSQL must protect its audit configuration from unauthorized modification.\n      - vuln_id: V-261880\n        stig_id: CD16-00-002500\n        severity: medium\n        class: host\n        title: PostgreSQL must protect its audit features from unauthorized removal.\n      - vuln_id: V-261881\n        stig_id: CD16-00-002600\n        severity: medium\n        class: host\n        title: PostgreSQL must limit privileges to change software modules, to include stored procedures, functions and triggers, and links to software external to PostgreSQL.\n      - vuln_id: V-261882\n        stig_id: CD16-00-002700\n        severity: high\n        class: procedural\n        title: The PostgreSQL software installation account must be restricted to authorized users.\n      - vuln_id: V-261883\n        stig_id: CD16-00-002800\n        severity: medium\n        class: host\n        title: Database software, including PostgreSQL configuration files, must be stored in dedicated directories, or DASD pools, separate from the host OS and other applications.\n      - vuln_id: V-261884\n        stig_id: CD16-00-002900\n        severity: medium\n        class: query\n        title: Database objects (including but not limited to tables, indexes, storage, stored procedures, functions, triggers, links to software external to the DBMS, etc.) must be owned by database/PostgreSQL principals authorized for ownership.\n      - vuln_id: V-261885\n        stig_id: CD16-00-003000\n        severity: medium\n        class: query\n        title: The role(s)/group(s) used to modify database structure (including but not necessarily limited to tables, indexes, storage, etc.) and logic modules (stored procedures, functions, triggers, links to software external to PostgreSQL, etc.) must be restricted to authorized users.\n      - vuln_id: V-261886\n        stig_id: CD16-00-003200\n        severity: medium\n        class: query\n        title: Unused database components, PostgreSQL software, and database objects must be removed.\n      - vuln_id: V-261887\n        stig_id: CD16-00-003300\n        severity: medium\n        class: procedural\n        title: Unused database components that are integrated in PostgreSQL and cannot be uninstalled must be disabled.\n      - vuln_id: V-261888\n        stig_id: CD16-00-003400\n        severity: medium\n        class: query\n        title: Access to external executables must be disabled or restricted.\n      - vuln_id: V-261889\n        stig_id: CD16-00-003500\n        severity: medium\n        class: query\n        title: PostgreSQL must be configured to prohibit or restrict the use of organization-defined functions, ports, protocols, and/or services, as defined in the PPSM CAL and vulnerability assessments.\n      - vuln_id: V-261890\n        stig_id: CD16-00-003600\n        severity: medium\n        class: query\n        title: PostgreSQL must uniquely identify and authenticate organizational users (or processes acting on behalf of organizational users).\n      - vuln_id: V-261891\n        stig_id: CD16-00-003800\n        severity: high\n        class: query\n        title: If passwords are used for authentication, PostgreSQL must store only hashed, salted representations of passwords.\n      - vuln_id: V-261892\n        stig_id: CD16-00-003900\n        severity: high\n        class: query\n        title: If passwords are used for authentication, PostgreSQL must transmit only encrypted representations of passwords.\n      - vuln_id: V-261893\n        stig_id: CD16-00-004000\n        severity: medium\n        class: query\n        title: PostgreSQL, when using PKI-based authentication, must validate certificates by performing RFC 5280-compliant certification path validation.\n      - vuln_id: V-261894\n        stig_id: CD16-00-004100\n        severity: high\n        class: query\n        title: PostgreSQL must enforce authorized access to all PKI private keys stored/used by PostgreSQL.\n      - vuln_id: V-261895\n        stig_id: CD16-00-004200\n        severity: medium\n        class: query\n        title: PostgreSQL must map the PKI-authenticated identity to an associated user account.\n      - vuln_id: V-261896\n        stig_id: CD16-00-004400\n        severity: high\n        class: procedural\n        title: PostgreSQL must use NIST FIPS 140-2/140-3 validated cryptographic modules for cryptographic operations.\n      - vuln_id: V-261897\n        stig_id: CD16-00-004500\n        severity: medium\n        class: query\n        title: PostgreSQL must uniquely identify and authenticate nonorganizational users (or processes acting on behalf of nonorganizational users).\n      - vuln_id: V-261898\n        stig_id: CD16-00-004600\n        severity: medium\n        class: query\n        title: PostgreSQL must separate user functionality (including user interface services) from database management functionality.\n      - vuln_id: V-261899\n        stig_id: CD16-00-004700\n        severity: medium\n        class: query\n        title: PostgreSQL must invalidate session identifiers upon user logout or other session termination.\n      - vuln_id: V-261900\n        stig_id: CD16-00-004900\n        severity: medium\n        class: query\n        title: PostgreSQL must maintain the authenticity of communications sessions by guarding against man-in-the-middle attacks that guess at Session ID values.\n      - vuln_id: V-261901\n        stig_id: CD16-00-005200\n        severity: high\n        class: query\n        title: PostgreSQL must protect the confidentiality and integrity of all information at rest.\n      - vuln_id: V-261902\n        stig_id: CD16-00-005300\n        severity: medium\n        class: query\n        title: PostgreSQL must isolate security functions from nonsecurity functions.\n      - vuln_id: V-261903\n        stig_id: CD16-00-005400\n        severity: medium\n        class: procedural\n        title: Database contents must be protected from unauthorized and unintended information transfer by enforcement of a data-transfer policy.\n      - vuln_id: V-261904\n        stig_id: CD16-00-005600\n        severity: medium\n        class: host\n        title: Access to database files must be limited to relevant processes and to authorized, administrative users.\n      - vuln_id: V-261905\n        stig_id: CD16-00-005700\n        severity: medium\n        class: procedural\n        title: PostgreSQL must check the validity of all data inputs except those specifically identified by the organization.\n      - vuln_id: V-261906\n        stig_id: CD16-00-005800\n        severity: medium\n        class: procedural\n        title: PostgreSQL and associated applications must reserve the use of dynamic code execution for situations that require it.\n      - vuln_id: V-261907\n        stig_id: CD16-00-005900\n        severity: medium\n        class: procedural\n        title: PostgreSQL and associated applications, when making use of dynamic code execution, must scan input data for invalid values that may indicate a code injection attack.\n      - vuln_id: V-261908\n        stig_id: CD16-00-006000\n        severity: medium\n        class: query\n        title: PostgreSQL must provide nonprivileged users with error messages that provide information necessary for corrective actions without revealing information that could be exploited by adversaries.\n      - vuln_id: V-261909\n        stig_id: CD16-00-006100\n        severity: medium\n        class: query\n        title: PostgreSQL must reveal detailed error messages only to the information system security officer (ISSO), information system security manager (ISSM), system administrator (SA), and database administrator (DBA).\n      - vuln_id: V-261910\n        stig_id: CD16-00-006200\n        severity: medium\n        class: procedural\n        title: PostgreSQL must automatically terminate a user session after organization-defined conditions or trigger events requiring session disconnect.\n      - vuln_id: V-261911\n        stig_id: CD16-00-006400\n        severity: medium\n        class: query\n        title: PostgreSQL must associate organization-defined types of security labels having organization-defined security label values with information in storage.\n      - vuln_id: V-261912\n        stig_id: CD16-00-006500\n        severity: medium\n        class: query\n        title: PostgreSQL must associate organization-defined types of security labels having organization-defined security label values with information in process.\n      - vuln_id: V-261913\n        stig_id: CD16-00-006600\n        severity: medium\n        class: query\n        title: PostgreSQL must associate organization-defined types of security labels having organization-defined security label values with information in transmission.\n      - vuln_id: V-261914\n        stig_id: CD16-00-006700\n        severity: medium\n        class: query\n        title: PostgreSQL must enforce discretionary access control policies, as defined by the data owner, over defined subjects and objects.\n      - vuln_id: V-261915\n        stig_id: CD16-00-006800\n        severity: medium\n        class: procedural\n        title: PostgreSQL must prevent nonprivileged users from executing privileged functions, to include disabling, circumventing, or altering implemented security safeguards/countermeasures.\n      - vuln_id: V-261916\n        stig_id: CD16-00-006900\n        severity: medium\n        class: query\n        title: Execution of software modules (to include stored procedures, functions, and triggers) with elevated privileges must be restricted to necessary cases only.\n      - vuln_id: V-261917\n        stig_id: CD16-00-007000\n        severity: medium\n        class: query\n        title: PostgreSQL must use centralized management of the content captured in audit records generated by all components of PostgreSQL.\n      - vuln_id: V-261918\n        stig_id: CD16-00-007200\n        severity: medium\n        class: procedural\n        title: PostgreSQL must allocate audit record storage capacity in accordance with organization-defined audit record storage requirements.\n      - vuln_id: V-261919\n        stig_id: CD16-00-007300\n        severity: medium\n        class: procedural\n        title: PostgreSQL must provide a warning to appropriate support staff when allocated audit record storage volume reaches 75 percent of maximum audit record storage capacity.\n      - vuln_id: V-261920\n        stig_id: CD16-00-007400\n        severity: medium\n        class: procedural\n        title: PostgreSQL must provide an immediate real-time alert to appropriate support staff of all audit log failures.\n      - vuln_id: V-261921\n        stig_id: CD16-00-007500\n        severity: medium\n        class: query\n        title: PostgreSQL must record time stamps in audit records and application data that can be mapped to Coordinated Universal Time (UTC), formerly Greenwich Mean Time (GMT).\n      - vuln_id: V-261922\n        stig_id: CD16-00-007600\n        severity: medium\n        class: query\n        title: PostgreSQL must generate time stamps for audit records and application data with a minimum granularity of one second.\n      - vuln_id: V-261923\n        stig_id: CD16-00-007700\n        severity: medium\n        class: query\n        title: PostgreSQL must prohibit user installation of logic modules (stored procedures, functions, triggers, views, etc.) without explicit privileged status.\n      - vuln_id: V-261924\n        stig_id: CD16-00-007800\n        severity: medium\n        class: query\n        title: PostgreSQL must enforce access restrictions associated with changes to the configuration of the DBMS or database(s).\n      - vuln_id: V-261925\n        stig_id: CD16-00-007900\n        severity: medium\n        class: query\n        title: PostgreSQL must produce audit records of its enforcement of access restrictions associated with changes to the configuration of PostgreSQL or database(s).\n      - vuln_id: V-261926\n        stig_id: CD16-00-008000\n        severity: medium\n        class: query\n        title: PostgreSQL must disable network functions, ports, protocols, and services deemed by the organization to be nonsecure, in accordance with the Ports, Protocols, and Services Management (PPSM) guidance.\n      - vuln_id: V-261927\n        stig_id: CD16-00-008100\n        severity: medium\n        class: query\n        title: PostgreSQL must require users to reauthenticate when organization-defined circumstances or situations require reauthentication.\n      - vuln_id: V-261928\n        stig_id: CD16-00-008300\n        severity: high\n        class: query\n        title: PostgreSQL must use NSA-approved cryptography to protect classified information in accordance with the data owner's requirements.\n      - vuln_id: V-261929\n        stig_id: CD16-00-008400\n        severity: medium\n        class: query\n        title: PostgreSQL must only accept end entity certificates issued by DOD PKI or DOD-approved PKI Certification Authorities (CAs) for the establishment of all encrypted sessions.\n      - vuln_id: V-261930\n        stig_id: CD16-00-008500\n        severity: high\n        class: query\n        title: PostgreSQL must implement cryptographic mechanisms to prevent unauthorized modification of organization-defined information at rest (to include, at a minimum, PII and classified information) on organization-defined information system components.\n      - vuln_id: V-261931\n        stig_id: CD16-00-008600\n        severity: medium\n        class: query\n        title: PostgreSQL must implement cryptographic mechanisms preventing the unauthorized disclosure of organization-defined information at rest on organization-defined information system components.\n      - vuln_id: V-261932\n        stig_id: CD16-00-008800\n        severity: medium\n        class: query\n        title: PostgreSQL must maintain the confidentiality and integrity of information during preparation for transmission.\n      - vuln_id: V-261933\n        stig_id: CD16-00-008900\n        severity: medium\n        class: query\n        title: PostgreSQL must maintain the confidentiality and integrity of information during reception.\n      - vuln_id: V-261934\n        stig_id: CD16-00-009000\n        severity: medium\n        class: query\n        title: When invalid inputs are received, PostgreSQL must behave in a predictable and documented manner that reflects organizational and system objectives.\n      - vuln_id: V-261935\n        stig_id: CD16-00-009100\n        severity: medium\n        class: procedural\n        title: When updates are applied to the PostgreSQL software, any software components that have been replaced or made unnecessary must be removed.\n      - vuln_id: V-261936\n        stig_id: CD16-00-009200\n        severity: medium\n        class: query\n        title: Security-relevant software updates to PostgreSQL must be installed within the time period directed by an authoritative source (e.g., IAVM, CTOs, DTMs, and STIGs).\n      - vuln_id: V-261938\n        stig_id: CD16-00-009400\n        severity: medium\n        class: query\n        title: PostgreSQL must be able to generate audit records when security objects are accessed.\n      - vuln_id: V-261939\n        stig_id: CD16-00-009500\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when unsuccessful attempts to access security objects occur.\n      - vuln_id: V-261940\n        stig_id: CD16-00-009600\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when categories of information (e.g., classification levels/security levels) are accessed.\n      - vuln_id: V-261941\n        stig_id: CD16-00-009700\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when unsuccessful attempts to access categories of information (e.g., classification levels/security levels) occur.\n      - vuln_id: V-261942\n        stig_id: CD16-00-009800\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when privileges/permissions are added.\n      - vuln_id: V-261943\n        stig_id: CD16-00-009900\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when unsuccessful attempts to add privileges/permissions occur.\n      - vuln_id: V-261944\n        stig_id: CD16-00-010000\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when privileges/permissions are modified.\n      - vuln_id: V-261945\n        stig_id: CD16-00-010100\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when unsuccessful attempts to modify privileges/permissions occur.\n      - vuln_id: V-261946\n        stig_id: CD16-00-010200\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when security objects are modified.\n      - vuln_id: V-261947\n        stig_id: CD16-00-010300\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when unsuccessful attempts to modify security objects occur.\n      - vuln_id: V-261948\n        stig_id: CD16-00-010400\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when categories of information (e.g., classification levels/security levels) are modified.\n      - vuln_id: V-261949\n        stig_id: CD16-00-010500\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when unsuccessful attempts to modify categories of information (e.g., classification levels/security levels) occur.\n      - vuln_id: V-261950\n        stig_id: CD16-00-010600\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when privileges/permissions are deleted.\n      - vuln_id: V-261951\n        stig_id: CD16-00-010700\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when unsuccessful attempts to delete privileges/permissions occur.\n      - vuln_id: V-261952\n        stig_id: CD16-00-010800\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when security objects are deleted.\n      - vuln_id: V-261953\n        stig_id: CD16-00-010900\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when unsuccessful attempts to delete security objects occur.\n      - vuln_id: V-261954\n        stig_id: CD16-00-011000\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when categories of information (e.g., classification levels/security levels) are deleted.\n      - vuln_id: V-261955\n        stig_id: CD16-00-011100\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when unsuccessful attempts to delete categories of information (e.g., classification levels/security levels) occur.\n      - vuln_id: V-261956\n        stig_id: CD16-00-011200\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when successful logons or connections occur.\n      - vuln_id: V-261957\n        stig_id: CD16-00-011300\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when unsuccessful logons or connection attempts occur.\n      - vuln_id: V-261958\n        stig_id: CD16-00-011400\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records for all privileged activities or other system-level access.\n      - vuln_id: V-261959\n        stig_id: CD16-00-011500\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when unsuccessful attempts to execute privileged activities or other system-level access occur.\n      - vuln_id: V-261960\n        stig_id: CD16-00-011600\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records showing starting and ending time for user access to the database(s).\n      - vuln_id: V-261961\n        stig_id: CD16-00-011700\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when concurrent logons/connections by the same user from different workstations occur.\n      - vuln_id: V-261962\n        stig_id: CD16-00-011800\n        severity: medium\n        class: query\n        title: PostgreSQL must be able to generate audit records when successful accesses to objects occur.\n      - vuln_id: V-261963\n        stig_id: CD16-00-011900\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records when unsuccessful accesses to objects occur.\n      - vuln_id: V-261964\n        stig_id: CD16-00-012000\n        severity: medium\n        class: query\n        title: PostgreSQL must generate audit records for all direct access to the database(s).\n      - vuln_id: V-261965\n        stig_id: CD16-00-012200\n        severity: medium\n        class: procedural\n        title: PostgreSQL must implement NIST FIPS 140-2 or 140-3 validated cryptographic modules to generate and validate cryptographic hashes.\n      - vuln_id: V-261966\n        stig_id: CD16-00-012300\n        severity: medium\n        class: procedural\n        title: PostgreSQL must implement NIST FIPS 140-2 or 140-3 validated cryptographic modules to protect unclassified information requiring confidentiality and cryptographic protection, in accordance with the data owners' requirements.\n      - vuln_id: V-261967\n        stig_id: CD16-00-012400\n        severity: medium\n        class: query\n        title: PostgreSQL must offload audit data to a separate log management facility; this must be continuous and in near real time for systems with a network connection to the storage facility and weekly or more often for standalone systems.\n      - vuln_id: V-283674\n        stig_id: CD16-00-009300\n        severity: high\n        class: query\n        title: PostgreSQL products must be a version supported by the vendor.\n  redis-enterprise-6:\n    engine: redis\n    title: Redis Enterprise 6.x Security Technical Implementation Guide\n    version: V2R2\n    benchmark_date: 24 Oct 2024\n    rules:\n      - vuln_id: V-251183\n        stig_id: RD6X-00-000100\n        severity: low\n        class: procedural\n        title: Redis Enterprise DBMS must limit the number of concurrent sessions to an organization-defined number per user for all accounts and/or account types.\n      - vuln_id: V-251184\n        stig_id: RD6X-00-000700\n        severity: high\n        class: procedural\n        title: Redis Enterprise DBMS must integrate with an organization-level authentication/access mechanism providing account management and automation for all users, groups, roles, and any other principals.\n      - vuln_id: V-251185\n        stig_id: RD6X-00-000800\n        severity: high\n        class: procedural\n        title: Redis Enterprise DBMS must enforce approved authorizations for logical access to information and system resources in accordance with applicable access control policies.\n      - vuln_id: V-251186\n        stig_id: RD6X-00-000900\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must enforce discretionary access control policies, as defined by the data owner, over defined subjects and objects.\n      - vuln_id: V-251187\n        stig_id: RD6X-00-000950\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must enforce access control lists, as defined by the data owner, over defined subjects and objects.\n      - vuln_id: V-251188\n        stig_id: RD6X-00-001000\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must prevent non-privileged users from executing privileged functions, to include disabling, circumventing, or altering implemented security safeguards/countermeasures.\n      - vuln_id: V-251189\n        stig_id: RD6X-00-001100\n        severity: medium\n        class: procedural\n        title: Execution of software modules (to include stored procedures, functions, and triggers) with elevated privileges must be restricted to necessary cases only.\n      - vuln_id: V-251190\n        stig_id: RD6X-00-001400\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must provide audit record generation capability for DoD-defined auditable events within all DBMS/database components.\n      - vuln_id: V-251191\n        stig_id: RD6X-00-001500\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must allow only the ISSM (or individuals or roles appointed by the ISSM) to select which auditable events are to be audited.\n      - vuln_id: V-251192\n        stig_id: RD6X-00-004400\n        severity: medium\n        class: host\n        title: Redis Enterprise DBMS must generate audit records for all direct access to the database(s).\n      - vuln_id: V-251195\n        stig_id: RD6X-00-005500\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must allocate audit record storage capacity in accordance with organization-defined audit record storage requirements.\n      - vuln_id: V-251196\n        stig_id: RD6X-00-005600\n        severity: medium\n        class: host\n        title: Redis Enterprise DBMS must offload audit data to a separate log management facility; this must be continuous and in near real time for systems with a network connection to the storage facility, and weekly or more often for stand-alone systems.\n      - vuln_id: V-251197\n        stig_id: RD6X-00-005700\n        severity: medium\n        class: query\n        title: Redis Enterprise DBMS must provide a warning to appropriate support staff when allocated audit record storage volume reaches 75 percent of maximum audit record storage capacity.\n      - vuln_id: V-251198\n        stig_id: RD6X-00-005800\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must provide an immediate real-time alert to appropriate support staff of all audit log failures.\n      - vuln_id: V-251199\n        stig_id: RD6X-00-005900\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must by default shut down upon audit failure, to include the unavailability of space for more audit log records; or must be configurable to shut down upon audit failure.\n      - vuln_id: V-251200\n        stig_id: RD6X-00-006000\n        severity: medium\n        class: host\n        title: Redis Enterprise DBMS must be configurable to overwrite audit log records, oldest first (First-In-First-Out [FIFO]), in the event of unavailability of space for more audit log records.\n      - vuln_id: V-251201\n        stig_id: RD6X-00-006200\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must record time stamps, in audit records and application data, that can be mapped to Coordinated Universal Time (UTC, formerly GMT).\n      - vuln_id: V-251202\n        stig_id: RD6X-00-006400\n        severity: medium\n        class: host\n        title: The audit information produced by Redis Enterprise DBMS must be protected from unauthorized read access.\n      - vuln_id: V-251203\n        stig_id: RD6X-00-006500\n        severity: medium\n        class: host\n        title: The audit information produced by Redis Enterprise DBMS must be protected from unauthorized modification.\n      - vuln_id: V-251204\n        stig_id: RD6X-00-006600\n        severity: medium\n        class: host\n        title: The audit information produced by Redis Enterprise DBMS must be protected from unauthorized deletion.\n      - vuln_id: V-251205\n        stig_id: RD6X-00-006700\n        severity: medium\n        class: host\n        title: Redis Enterprise DBMS must protect its audit features from unauthorized access.\n      - vuln_id: V-251206\n        stig_id: RD6X-00-006800\n        severity: medium\n        class: host\n        title: Redis Enterprise DBMS must protect its audit configuration from unauthorized modification.\n      - vuln_id: V-251207\n        stig_id: RD6X-00-006900\n        severity: medium\n        class: host\n        title: Redis Enterprise DBMS must protect its audit features from unauthorized removal.\n      - vuln_id: V-251208\n        stig_id: RD6X-00-007000\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must prohibit user installation of logic modules (stored procedures, functions, triggers, views, etc.) without explicit privileged status.\n      - vuln_id: V-251209\n        stig_id: RD6X-00-007100\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must enforce access restrictions associated with changes to the configuration of Redis Enterprise DBMS or database(s).\n      - vuln_id: V-251210\n        stig_id: RD6X-00-007300\n        severity: medium\n        class: host\n        title: Redis Enterprise DBMS must limit privileges to change software modules; to include stored procedures, functions, and triggers, and links to software external to Redis Enterprise DBMS.\n      - vuln_id: V-251211\n        stig_id: RD6X-00-007400\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS software installation account must be restricted to authorized users.\n      - vuln_id: V-251212\n        stig_id: RD6X-00-007500\n        severity: medium\n        class: host\n        title: Database software, including DBMS configuration files, must be stored in dedicated directories, or DASD pools, separate from the host OS and other applications.\n      - vuln_id: V-251213\n        stig_id: RD6X-00-007700\n        severity: medium\n        class: procedural\n        title: The role(s)/group(s) used to modify database structure (including but not necessarily limited to tables, indexes, storage, etc.) and logic modules (stored procedures, functions, triggers, links to software external to Redis Enterprise DBMS, etc.) must be restricted to authorized users.\n      - vuln_id: V-251214\n        stig_id: RD6X-00-007800\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must be configured in accordance with the security configuration settings based on DoD security configuration and implementation guidance, including STIGs, NSA configuration guides, CTOs, DTMs, and IAVMs.\n      - vuln_id: V-251215\n        stig_id: RD6X-00-007900\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must disable network functions, ports, protocols, and services deemed by the organization to be nonsecure, in accord with the Ports, Protocols, and Services Management (PPSM) guidance.\n      - vuln_id: V-251217\n        stig_id: RD6X-00-008100\n        severity: medium\n        class: procedural\n        title: Unused database components, DBMS software, and database objects must be removed.\n      - vuln_id: V-251218\n        stig_id: RD6X-00-008200\n        severity: medium\n        class: procedural\n        title: Unused database components that are integrated in Redis Enterprise DBMS and cannot be uninstalled must be disabled.\n      - vuln_id: V-251219\n        stig_id: RD6X-00-008300\n        severity: medium\n        class: procedural\n        title: Access to external executables must be disabled or restricted.\n      - vuln_id: V-251220\n        stig_id: RD6X-00-008400\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must be configured to prohibit or restrict the use of organization-defined functions, ports, protocols, and/or services, as defined in the PPSM CAL and vulnerability assessments.\n      - vuln_id: V-251221\n        stig_id: RD6X-00-008500\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must require users to reauthenticate when organization-defined circumstances or situations require reauthentication.\n      - vuln_id: V-251222\n        stig_id: RD6X-00-008600\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must uniquely identify and authenticate organizational users (or processes acting on behalf of organizational users).\n      - vuln_id: V-251223\n        stig_id: RD6X-00-008800\n        severity: medium\n        class: procedural\n        title: If passwords are used for authentication, Redis Enterprise DBMS must store only hashed, salted representations of passwords.\n      - vuln_id: V-251224\n        stig_id: RD6X-00-009000\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must prohibit the use of cached authenticators after an organization-defined time period.\n      - vuln_id: V-251225\n        stig_id: RD6X-00-009100\n        severity: medium\n        class: host\n        title: Redis Enterprise DBMS, when utilizing PKI-based authentication, must validate certificates by performing RFC 5280-compliant certification path validation.\n      - vuln_id: V-251226\n        stig_id: RD6X-00-009200\n        severity: high\n        class: host\n        title: Redis Enterprise DBMS must enforce authorized access to all PKI private keys stored/used by Redis Enterprise DBMS.\n      - vuln_id: V-251227\n        stig_id: RD6X-00-009300\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must map the PKI-authenticated identity to an associated user account.\n      - vuln_id: V-251228\n        stig_id: RD6X-00-009400\n        severity: high\n        class: procedural\n        title: Redis Enterprise DBMS must obscure feedback of authentication information during the authentication process to protect the information from possible exploitation/use by unauthorized individuals.\n      - vuln_id: V-251229\n        stig_id: RD6X-00-009500\n        severity: high\n        class: host\n        title: Redis Enterprise DBMS must use NIST FIPS 140-2 or 140-3 validated cryptographic modules for cryptographic operations.\n      - vuln_id: V-251230\n        stig_id: RD6X-00-009600\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must uniquely identify and authenticate non-organizational users (or processes acting on behalf of non-organizational users).\n      - vuln_id: V-251231\n        stig_id: RD6X-00-009700\n        severity: high\n        class: procedural\n        title: Redis Enterprise DBMS must use NSA-approved cryptography to protect classified information in accordance with the data owners requirements.\n      - vuln_id: V-251232\n        stig_id: RD6X-00-009800\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must implement NIST FIPS 140-2 or 140-3 validated cryptographic modules to provision digital signatures.\n      - vuln_id: V-251233\n        stig_id: RD6X-00-009900\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must implement NIST FIPS 140-2 or 140-3 validated cryptographic modules to generate and validate cryptographic hashes.\n      - vuln_id: V-251234\n        stig_id: RD6X-00-010000\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must implement NIST FIPS 140-2 or 140-3 validated cryptographic modules to protect unclassified information requiring confidentiality and cryptographic protection, in accordance with the data owners requirements.\n      - vuln_id: V-251235\n        stig_id: RD6X-00-010100\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must separate user functionality (including user interface services) from database management functionality.\n      - vuln_id: V-251236\n        stig_id: RD6X-00-010150\n        severity: high\n        class: procedural\n        title: Access to the Redis Enterprise control plane must be restricted.\n      - vuln_id: V-251237\n        stig_id: RD6X-00-010300\n        severity: medium\n        class: host\n        title: Redis Enterprise DBMS must recognize only system-generated session identifiers.\n      - vuln_id: V-251238\n        stig_id: RD6X-00-010400\n        severity: medium\n        class: host\n        title: Redis Enterprise DBMS must maintain the authenticity of communications sessions by guarding against man-in-the-middle attacks that guess at Session ID values.\n      - vuln_id: V-251239\n        stig_id: RD6X-00-010500\n        severity: medium\n        class: host\n        title: Redis Enterprise DBMS must only accept end entity certificates issued by DoD PKI or DoD-approved PKI Certification Authorities (CAs) for the establishment of all encrypted sessions.\n      - vuln_id: V-251240\n        stig_id: RD6X-00-010600\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must fail to a secure state if system initialization fails, shutdown fails, or aborts fail.\n      - vuln_id: V-251241\n        stig_id: RD6X-00-010700\n        severity: medium\n        class: procedural\n        title: In the event of a system failure, Redis Enterprise DBMS must preserve any information necessary to determine cause of failure and any information necessary to return to operations with least disruption to mission processes.\n      - vuln_id: V-251242\n        stig_id: RD6X-00-010800\n        severity: high\n        class: procedural\n        title: Redis Enterprise DBMS must protect the confidentiality and integrity of all information at rest.\n      - vuln_id: V-251243\n        stig_id: RD6X-00-010900\n        severity: high\n        class: procedural\n        title: Redis Enterprise DBMS must implement cryptographic mechanisms to prevent unauthorized modification of organization-defined information at rest (to include, at a minimum, PII and classified information) on organization-defined information system components.\n      - vuln_id: V-251244\n        stig_id: RD6X-00-011000\n        severity: high\n        class: procedural\n        title: Redis Enterprise DBMS must implement cryptographic mechanisms preventing the unauthorized disclosure of organization-defined information at rest on organization-defined information system components.\n      - vuln_id: V-251245\n        stig_id: RD6X-00-011300\n        severity: medium\n        class: procedural\n        title: Database contents must be protected from unauthorized and unintended information transfer by enforcement of a data-transfer policy.\n      - vuln_id: V-251246\n        stig_id: RD6X-00-011400\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must prevent unauthorized and unintended information transfer via shared system resources.\n      - vuln_id: V-251247\n        stig_id: RD6X-00-011500\n        severity: medium\n        class: host\n        title: Access to database files must be limited to relevant processes and to authorized, administrative users.\n      - vuln_id: V-251248\n        stig_id: RD6X-00-011600\n        severity: medium\n        class: host\n        title: Redis Enterprise DBMS must maintain the confidentiality and integrity of information during preparation for transmission.\n      - vuln_id: V-251249\n        stig_id: RD6X-00-011700\n        severity: medium\n        class: host\n        title: Redis Enterprise DBMS must maintain the confidentiality and integrity of information during reception.\n      - vuln_id: V-251250\n        stig_id: RD6X-00-011900\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS and associated applications must reserve the use of dynamic code execution for situations that require it.\n      - vuln_id: V-251251\n        stig_id: RD6X-00-012000\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS and associated applications, when making use of dynamic code execution, must scan input data for invalid values that may indicate a code injection attack.\n      - vuln_id: V-251252\n        stig_id: RD6X-00-012400\n        severity: low\n        class: host\n        title: When updates are applied to Redis Enterprise DBMS software, any software components that have been replaced or made unnecessary must be removed.\n      - vuln_id: V-251253\n        stig_id: RD6X-00-012500\n        severity: medium\n        class: procedural\n        title: Security-relevant software updates to Redis Enterprise DBMS must be installed within the time period directed by an authoritative source (e.g., IAVM, CTOs, DTMs, and STIGs).\n      - vuln_id: V-251426\n        stig_id: RD6X-00-012600\n        severity: medium\n        class: procedural\n        title: Redis Enterprise DBMS must generate audit records for DoD-defined auditable events within all DBMS/database components.\n      - vuln_id: V-251428\n        stig_id: RD6X-00-008750\n        severity: medium\n        class: host\n        title: If DBMS authentication using passwords is employed, Redis Enterprise DBMS must enforce the DOD standards for password complexity and lifetime.\n      - vuln_id: V-265880\n        stig_id: RD6X-00-007950\n        severity: high\n        class: procedural\n        title: Redis Enterprise products must be a version supported by the vendor.\n",
    "controls/stig_rule_controls.yaml": "# GENERATED by cmd/stig-watch from compliance/stig snapshots — do not edit.\n# NIST SP 800-53 Rev. 5 controls (via DISA CCI list) of every STIG rule linked\n# in check_stig_links.yaml. internal/security adds them to the linked checks'\n# controls (origin stig-cci) when deriving framework mappings.\nrules:\n  mongodb-8:\n    V-279332:\n      version: V1R1\n      stig_id: MD8X-00-000200\n      severity: high\n      title: MongoDB must integrate with an organization-level authentication/access mechanism providing account management and automation for all users, groups, roles, and any other principals.\n      nist:\n        - AC-2(1)\n    V-279334:\n      version: V1R1\n      stig_id: MD8X-00-000400\n      severity: medium\n      title: MongoDB must provide audit record generation for DOD-defined auditable events within all DBMS/database components.\n      nist:\n        - AU-10\n        - AU-12\n        - AU-14(1)\n        - AU-3\n        - AU-3(1)\n        - AU-6(4)\n        - AU-9\n        - CM-5(1)\n    V-279346:\n      version: V1R1\n      stig_id: MD8X-00-003300\n      severity: medium\n      title: MongoDB must be configured to prohibit or restrict the use of organization-defined functions, ports, protocols, and/or services, as defined in the PPSM CAL and vulnerability assessments.\n      nist:\n        - CM-7\n    V-279349:\n      version: V1R1\n      stig_id: MD8X-00-003600\n      severity: high\n      title: MongoDB must, for password-based authentication, store passwords using an approved salted key derivation function, preferably using a keyed hash.\n      nist:\n        - IA-5(1)\n    V-279350:\n      version: V1R1\n      stig_id: MD8X-00-003700\n      severity: high\n      title: If passwords are used for authentication, MongoDB must transmit only encrypted representations of passwords.\n      nist:\n        - IA-5(1)\n        - IA-5(2)\n    V-279361:\n      version: V1R1\n      stig_id: MD8X-00-005000\n      severity: high\n      title: MongoDB must protect the confidentiality and integrity of all information at rest.\n      nist:\n        - SC-28\n    V-279366:\n      version: V1R1\n      stig_id: MD8X-00-005600\n      severity: medium\n      title: MongoDB and associated applications must reserve the use of dynamic code execution for situations that require it.\n      nist:\n        - SI-10\n    V-279389:\n      version: V1R1\n      stig_id: MD8X-00-008400\n      severity: medium\n      title: MongoDB must maintain the confidentiality and integrity of information during preparation for transmission.\n      nist:\n        - SC-8(2)\n    V-279399:\n      version: V1R1\n      stig_id: MD8X-00-012800\n      severity: medium\n      title: MongoDB must require users to be individually authenticated before granting access to the shared accounts or resources.\n      nist:\n        - IA-2(5)\n  mssql-2016-database:\n    V-213926:\n      version: V3R5\n      stig_id: SQL6-D0-003300\n      severity: high\n      title: SQL Server must implement cryptographic mechanisms to prevent unauthorized modification of organization-defined information at rest (to include, at a minimum, PII and classified information) on organization-defined information system components.\n      nist:\n        - SC-28(1)\n  mssql-2016-instance:\n    V-213931:\n      version: V3R6\n      stig_id: SQL6-D0-003800\n      severity: medium\n      title: SQL Server must be configured to utilize the most-secure authentication method available.\n      nist:\n        - AC-2(1)\n    V-213957:\n      version: V3R6\n      stig_id: SQL6-D0-007200\n      severity: medium\n      title: Access to xp_cmdshell must be disabled, unless specifically required and approved.\n      nist:\n        - CM-7\n    V-213958:\n      version: V3R6\n      stig_id: SQL6-D0-007300\n      severity: medium\n      title: Access to CLR code must be disabled or restricted, unless specifically required and approved.\n      nist:\n        - CM-7\n    V-213964:\n      version: V3R6\n      stig_id: SQL6-D0-007900\n      severity: high\n      title: If DBMS authentication using passwords is employed, SQL Server must enforce the DOD standards for password complexity and lifetime.\n      nist:\n        - IA-5(1)\n    V-213966:\n      version: V3R6\n      stig_id: SQL6-D0-008200\n      severity: high\n      title: If passwords are used for authentication, SQL Server must transmit only encrypted representations of passwords.\n      nist:\n        - IA-5(1)\n    V-213967:\n      version: V3R6\n      stig_id: SQL6-D0-008300\n      severity: high\n      title: Confidentiality of information during transmission is controlled through the use of an approved TLS version.\n      nist:\n        - IA-5(1)\n    V-213972:\n      version: V3R6\n      stig_id: SQL6-D0-009500\n      severity: high\n      title: SQL Server must protect the confidentiality and integrity of all information at rest.\n      nist:\n        - SC-28\n    V-214028:\n      version: V3R6\n      stig_id: SQL6-D0-016200\n      severity: high\n      title: The SQL Server default account [sa] must be disabled.\n      nist:\n        - AC-3\n    V-214029:\n      version: V3R6\n      stig_id: SQL6-D0-016300\n      severity: medium\n      title: SQL Server default account [sa] must have its name changed.\n      nist:\n        - CM-7\n    V-214035:\n      version: V3R6\n      stig_id: SQL6-D0-017000\n      severity: medium\n      title: Ole Automation Procedures feature must be disabled, unless specifically required and approved.\n      nist:\n        - CM-7\n    V-214037:\n      version: V3R6\n      stig_id: SQL6-D0-017200\n      severity: medium\n      title: Remote Access feature must be disabled, unless specifically required and approved.\n      nist:\n        - CM-7\n  mssql-2022-database:\n    V-271201:\n      version: V1R3\n      stig_id: SQLD-22-003300\n      severity: high\n      title: SQL Server must implement cryptographic mechanisms to prevent unauthorized modification or disclosure of organization-defined information at rest (to include, at a minimum, PII and classified information) on organization-defined information system components.\n      nist:\n        - SC-28(1)\n  mssql-2022-instance:\n    V-271264:\n      version: V1R4\n      stig_id: SQLI-22-003800\n      severity: high\n      title: SQL Server must be configured to use the most-secure authentication method available.\n      nist:\n        - AC-2(1)\n    V-271298:\n      version: V1R4\n      stig_id: SQLI-22-017200\n      severity: medium\n      title: The \"Remote Access\" feature must be disabled unless specifically required and approved.\n      nist:\n        - CM-7\n    V-271301:\n      version: V1R4\n      stig_id: SQLI-22-007300\n      severity: medium\n      title: Access to common language runtime (CLR) code must be disabled or restricted unless specifically required and approved.\n      nist:\n        - CM-7\n    V-271302:\n      version: V1R4\n      stig_id: SQLI-22-007200\n      severity: medium\n      title: Access to xp_cmdshell must be disabled unless specifically required and approved.\n      nist:\n        - CM-7\n    V-271307:\n      version: V1R4\n      stig_id: SQLI-22-007900\n      severity: high\n      title: If DBMS authentication using passwords is employed, SQL Server must enforce the DOD standards for password complexity and lifetime.\n      nist:\n        - AC-2(3)\n        - IA-5(1)\n    V-271309:\n      version: V1R4\n      stig_id: SQLI-22-008200\n      severity: high\n      title: If passwords are used for authentication, SQL Server must transmit only encrypted representations of passwords.\n      nist:\n        - IA-5(1)\n    V-271310:\n      version: V1R4\n      stig_id: SQLI-22-008300\n      severity: high\n      title: Confidentiality of information during transmission must be controlled through the use of an approved TLS version.\n      nist:\n        - IA-5(1)\n    V-271324:\n      version: V1R4\n      stig_id: SQLI-22-009500\n      severity: high\n      title: SQL Server must protect the confidentiality and integrity of all information at rest.\n      nist:\n        - SC-28\n    V-274444:\n      version: V1R4\n      stig_id: SQLI-22-016200\n      severity: medium\n      title: The SQL Server default account [sa] must be disabled.\n      nist:\n        - AC-3\n    V-274445:\n      version: V1R4\n      stig_id: SQLI-22-016300\n      severity: medium\n      title: The SQL Server default account [sa] must have its name changed.\n      nist:\n        - CM-7\n    V-274451:\n      version: V1R4\n      stig_id: SQLI-22-017000\n      severity: medium\n      title: The Ole Automation Procedures feature must be disabled unless specifically required and approved.\n      nist:\n        - CM-7\n  mysql-8.0:\n    V-235103:\n      version: V2R2\n      stig_id: MYS8-00-001600\n      severity: medium\n      title: The MySQL Database Server 8.0 must be configured to provide audit record generation capability for DoD-defined auditable events within all database components.\n      nist:\n        - AU-12\n    V-235137:\n      version: V2R2\n      stig_id: MYS8-00-005000\n      severity: high\n      title: If Database Management System (DBMS) authentication using passwords is employed, the DBMS must enforce the DOD standards for password complexity and lifetime.\n      nist:\n        - IA-5(1)\n    V-235139:\n      version: V2R2\n      stig_id: MYS8-00-005200\n      severity: high\n      title: If passwords are used for authentication, the MySQL Database Server 8.0 must transmit only encrypted representations of passwords.\n      nist:\n        - IA-5(1)\n    V-235143:\n      version: V2R2\n      stig_id: MYS8-00-005600\n      severity: medium\n      title: Default demonstration and sample databases, database objects, and applications must be removed.\n      nist:\n        - CM-7\n    V-235186:\n      version: V2R2\n      stig_id: MYS8-00-011300\n      severity: medium\n      title: The MySQL Database Server 8.0 must maintain the confidentiality and integrity of information during preparation for transmission.\n      nist:\n        - SC-8(2)\n  oracle-19c:\n    V-270504:\n      version: V1R5\n      stig_id: O19C-00-002000\n      severity: medium\n      title: Oracle Database must generate audit records for the DOD-selected list of auditable events, when successfully accessed, added, modified, or deleted, to the extent such information is available.\n      nist:\n        - AU-12\n    V-270513:\n      version: V1R5\n      stig_id: O19C-00-007400\n      severity: high\n      title: Oracle Database products must be a version supported by the vendor.\n      nist:\n        - SA-22\n    V-270524:\n      version: V1R5\n      stig_id: O19C-00-009200\n      severity: medium\n      title: The Oracle REMOTE_OS_ROLES parameter must be set to FALSE.\n      nist:\n        - CM-6\n    V-270526:\n      version: V1R5\n      stig_id: O19C-00-009400\n      severity: medium\n      title: The Oracle password file ownership and permissions should be limited and the REMOTE_LOGIN_PASSWORDFILE parameter must be set to EXCLUSIVE or NONE.\n      nist:\n        - CM-6\n    V-270540:\n      version: V1R5\n      stig_id: O19C-00-011300\n      severity: medium\n      title: Changes to configuration options must be audited.\n      nist:\n        - CM-6\n    V-270550:\n      version: V1R5\n      stig_id: O19C-00-012400\n      severity: medium\n      title: Oracle Database must set the maximum number of consecutive invalid logon attempts to three.\n      nist:\n        - CM-6\n  postgresql-crunchy-16:\n    V-261857:\n      version: V1R3\n      stig_id: CD16-00-000100\n      severity: medium\n      title: PostgreSQL must limit the number of concurrent sessions to an organization-defined number per user for all accounts and/or account types.\n      nist:\n        - AC-10\n    V-261891:\n      version: V1R3\n      stig_id: CD16-00-003800\n      severity: high\n      title: If passwords are used for authentication, PostgreSQL must store only hashed, salted representations of passwords.\n      nist: []\n    V-261892:\n      version: V1R3\n      stig_id: CD16-00-003900\n      severity: high\n      title: If passwords are used for authentication, PostgreSQL must transmit only encrypted representations of passwords.\n      nist:\n        - IA-5(1)\n    V-261900:\n      version: V1R3\n      stig_id: CD16-00-004900\n      severity: medium\n      title: PostgreSQL must maintain the authenticity of communications sessions by guarding against man-in-the-middle attacks that guess at Session ID values.\n      nist:\n        - SC-23(3)\n    V-261932:\n      version: V1R3\n      stig_id: CD16-00-008800\n      severity: medium\n      title: PostgreSQL must maintain the confidentiality and integrity of information during preparation for transmission.\n      nist:\n        - SC-8(2)\n    V-261956:\n      version: V1R3\n      stig_id: CD16-00-011200\n      severity: medium\n      title: PostgreSQL must generate audit records when successful logons or connections occur.\n      nist:\n        - AU-12\n",
    "direct_mappings.yaml": "# Direct (check-specific) framework mappings that are not derived through the\n# NIST 800-53 control layer. Today: CIS benchmark sections, carried over\n# unchanged from the former framework_mappings.yaml.\n#\n# NOTE: several CIS section numbers here disagree with the benchmark ids in the\n# checkset YAMLs (internal/database/seeds/*_checkset_v1.yaml). Neither source\n# has been verified against the licensed CIS documents; fix them together.\nmappings:\n  - check_id: \"pg-auth-001\"\n    engine: \"postgresql\"\n    framework: \"CIS\"\n    framework_version: \"16.0\"\n    control_id: \"3.1\"\n    control_title: \"Ensure password_encryption is set to scram-sha-256\"\n    section: \"3 - Authentication\"\n  - check_id: \"pg-auth-002\"\n    engine: \"postgresql\"\n    framework: \"CIS\"\n    framework_version: \"16.0\"\n    control_id: \"3.2\"\n    control_title: \"Ensure no roles have empty passwords\"\n    section: \"3 - Authentication\"\n  - check_id: \"pg-ssl-001\"\n    engine: \"postgresql\"\n    framework: \"CIS\"\n    framework_version: \"16.0\"\n    control_id: \"6.7\"\n    control_title: \"Ensure SSL is enabled and configured\"\n    section: \"6 - Network\"\n  - check_id: \"pg-hba-001\"\n    engine: \"postgresql\"\n    framework: \"CIS\"\n    framework_version: \"16.0\"\n    control_id: \"6.1\"\n    control_title: \"Ensure pg_hba.conf has no trust entries\"\n    section: \"6 - Network\"\n  - check_id: \"pg-hba-002\"\n    engine: \"postgresql\"\n    framework: \"CIS\"\n    framework_version: \"16.0\"\n    control_id: \"6.2\"\n    control_title: \"Ensure pg_hba.conf uses scram-sha-256\"\n    section: \"6 - Network\"\n  - check_id: \"pg-log-001\"\n    engine: \"postgresql\"\n    framework: \"CIS\"\n    framework_version: \"16.0\"\n    control_id: \"4.1\"\n    control_title: \"Ensure log_connections is enabled\"\n    section: \"4 - Auditing and Logging\"\n  - check_id: \"pg-log-002\"\n    engine: \"postgresql\"\n    framework: \"CIS\"\n    framework_version: \"16.0\"\n    control_id: \"4.2\"\n    control_title: \"Ensure log_disconnections is enabled\"\n    section: \"4 - Auditing and Logging\"\n  - check_id: \"pg-log-003\"\n    engine: \"postgresql\"\n    framework: \"CIS\"\n    framework_version: \"16.0\"\n    control_id: \"4.3\"\n    control_title: \"Ensure log_statement is set appropriately\"\n    section: \"4 - Auditing and Logging\"\n  - check_id: \"pg-super-001\"\n    engine: \"postgresql\"\n    framework: \"CIS\"\n    framework_version: \"16.0\"\n    control_id: \"2.1\"\n    control_title: \"Ensure excessive superuser count is limited\"\n    section: \"2 - Privileges\"\n  - check_id: \"pg-super-002\"\n    engine: \"postgresql\"\n    framework: \"CIS\"\n    framework_version: \"16.0\"\n    control_id: \"2.2\"\n    control_title: \"Ensure default superuser has limited login\"\n    section: \"2 - Privileges\"\n  - check_id: \"pg-public-001\"\n    engine: \"postgresql\"\n    framework: \"CIS\"\n    framework_version: \"16.0\"\n    control_id: \"2.3\"\n    control_title: \"Ensure public schema permissions are restrictive\"\n    section: \"2 - Privileges\"\n  - check_id: \"pg-priv-001\"\n    engine: \"postgresql\"\n    framework: \"CIS\"\n    framework_version: \"16.0\"\n    control_id: \"2.5\"\n    control_title: \"Ensure excessive grants are reviewed\"\n    section: \"2 - Privileges\"\n  - check_id: \"pg-backup-001\"\n    engine: \"postgresql\"\n    framework: \"CIS\"\n    framework_version: \"16.0\"\n    control_id: \"5.1\"\n    control_title: \"Ensure backups are configured and recent\"\n    section: \"5 - Data Protection\"\n  - check_id: \"ms-auth-001\"\n    engine: \"mssql\"\n    framework: \"CIS\"\n    framework_version: \"1.4\"\n    control_id: \"3.1\"\n    control_title: \"Ensure Windows Authentication Mode is preferred\"\n    section: \"3 - Authentication\"\n  - check_id: \"ms-auth-002\"\n    engine: \"mssql\"\n    framework: \"CIS\"\n    framework_version: \"1.4\"\n    control_id: \"2.11\"\n    control_title: \"Ensure xp_cmdshell is disabled\"\n    section: \"2 - Surface Area\"\n  - check_id: \"ms-remote-001\"\n    engine: \"mssql\"\n    framework: \"CIS\"\n    framework_version: \"1.4\"\n    control_id: \"2.6\"\n    control_title: \"Ensure remote admin connections is disabled\"\n    section: \"2 - Surface Area\"\n  - check_id: \"ms-audit-001\"\n    engine: \"mssql\"\n    framework: \"CIS\"\n    framework_version: \"1.4\"\n    control_id: \"5.1\"\n    control_title: \"Ensure server audit is configured\"\n    section: \"5 - Auditing\"\n  - check_id: \"ms-pwpol-001\"\n    engine: \"mssql\"\n    framework: \"CIS\"\n    framework_version: \"1.4\"\n    control_id: \"3.8\"\n    control_title: \"Ensure password policy enforcement is enabled\"\n    section: \"3 - Authentication\"\n  - check_id: \"ms-tde-001\"\n    engine: \"mssql\"\n    framework: \"CIS\"\n    framework_version: \"1.4\"\n    control_id: \"4.1\"\n    control_title: \"Ensure TDE is enabled for sensitive databases\"\n    section: \"4 - Data Protection\"\n  - check_id: \"ms-guest-001\"\n    engine: \"mssql\"\n    framework: \"CIS\"\n    framework_version: \"1.4\"\n    control_id: \"3.10\"\n    control_title: \"Ensure GUEST user is disabled in non-system databases\"\n    section: \"3 - Authentication\"\n  - check_id: \"mg-auth-001\"\n    engine: \"mongodb\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"3.1\"\n    control_title: \"Ensure authentication is enabled\"\n    section: \"3 - Authentication\"\n  - check_id: \"mg-tls-001\"\n    engine: \"mongodb\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"4.1\"\n    control_title: \"Ensure TLS is enabled\"\n    section: \"4 - Transport Encryption\"\n  - check_id: \"mg-bind-001\"\n    engine: \"mongodb\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"5.1\"\n    control_title: \"Ensure network bind is restricted\"\n    section: \"5 - Network\"\n  - check_id: \"mg-audit-001\"\n    engine: \"mongodb\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"6.1\"\n    control_title: \"Ensure audit logging is configured\"\n    section: \"6 - Auditing\"\n  - check_id: \"mg-role-001\"\n    engine: \"mongodb\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"3.3\"\n    control_title: \"Ensure role-based access control is configured\"\n    section: \"3 - Authentication\"\n  - check_id: \"oracle-audit-001\"\n    engine: \"oracle\"\n    framework: \"CIS\"\n    framework_version: \"3.0\"\n    control_id: \"2.2.1\"\n    control_title: \"Ensure audit_trail is set to DB or higher\"\n    section: \"2 - Auditing\"\n  - check_id: \"oracle-audit-002\"\n    engine: \"oracle\"\n    framework: \"CIS\"\n    framework_version: \"3.0\"\n    control_id: \"2.2.2\"\n    control_title: \"Ensure audit_sys_operations is TRUE\"\n    section: \"2 - Auditing\"\n  - check_id: \"oracle-net-001\"\n    engine: \"oracle\"\n    framework: \"CIS\"\n    framework_version: \"3.0\"\n    control_id: \"3.1\"\n    control_title: \"Restrict remote_login_passwordfile to NONE or EXCLUSIVE\"\n    section: \"3 - Authentication\"\n  - check_id: \"oracle-net-002\"\n    engine: \"oracle\"\n    framework: \"CIS\"\n    framework_version: \"3.0\"\n    control_id: \"3.2\"\n    control_title: \"Ensure remote_os_authent is FALSE\"\n    section: \"3 - Authentication\"\n  - check_id: \"oracle-net-003\"\n    engine: \"oracle\"\n    framework: \"CIS\"\n    framework_version: \"3.0\"\n    control_id: \"3.3\"\n    control_title: \"Ensure remote_os_roles is FALSE\"\n    section: \"3 - Authentication\"\n  - check_id: \"oracle-config-001\"\n    engine: \"oracle\"\n    framework: \"CIS\"\n    framework_version: \"3.0\"\n    control_id: \"2.3\"\n    control_title: \"Ensure o7_dictionary_accessibility is FALSE\"\n    section: \"2 - Configuration\"\n  - check_id: \"oracle-config-002\"\n    engine: \"oracle\"\n    framework: \"CIS\"\n    framework_version: \"3.0\"\n    control_id: \"2.4\"\n    control_title: \"Ensure global_names is TRUE\"\n    section: \"2 - Configuration\"\n  - check_id: \"oracle-config-003\"\n    engine: \"oracle\"\n    framework: \"CIS\"\n    framework_version: \"3.0\"\n    control_id: \"2.5\"\n    control_title: \"Ensure sec_max_failed_login_attempts is set\"\n    section: \"2 - Configuration\"\n  - check_id: \"oracle-recovery-001\"\n    engine: \"oracle\"\n    framework: \"CIS\"\n    framework_version: \"3.0\"\n    control_id: \"5.1\"\n    control_title: \"Ensure database is in ARCHIVELOG mode\"\n    section: \"5 - Recovery\"\n  - check_id: \"oracle-version-001\"\n    engine: \"oracle\"\n    framework: \"CIS\"\n    framework_version: \"3.0\"\n    control_id: \"1.1\"\n    control_title: \"Ensure Oracle version is supported\"\n    section: \"1 - Patching\"\n  - check_id: \"mysql-auth-001\"\n    engine: \"mysql\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"5.3\"\n    control_title: \"Ensure no anonymous user accounts exist\"\n    section: \"5 - Users and Access\"\n  - check_id: \"mysql-auth-002\"\n    engine: \"mysql\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"6.6\"\n    control_title: \"Ensure the root user can only access the server from localhost\"\n    section: \"6 - Network Access\"\n  - check_id: \"mysql-auth-003\"\n    engine: \"mysql\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"7.1\"\n    control_title: \"Ensure validate_password component is installed\"\n    section: \"7 - Authentication\"\n  - check_id: \"mysql-auth-004\"\n    engine: \"mysql\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"7.3\"\n    control_title: \"Ensure validate_password.policy is STRONG\"\n    section: \"7 - Authentication\"\n  - check_id: \"mysql-auth-005\"\n    engine: \"mysql\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"5.1\"\n    control_title: \"Ensure default_password_lifetime is configured\"\n    section: \"5 - Users and Access\"\n  - check_id: \"mysql-ssl-001\"\n    engine: \"mysql\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"7.2\"\n    control_title: \"Ensure have_ssl is YES\"\n    section: \"7 - Network Security\"\n  - check_id: \"mysql-ssl-002\"\n    engine: \"mysql\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"7.6\"\n    control_title: \"Ensure require_secure_transport is ON\"\n    section: \"7 - Network Security\"\n  - check_id: \"mysql-net-001\"\n    engine: \"mysql\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"6.2\"\n    control_title: \"Ensure skip-name-resolve is ON\"\n    section: \"6 - Network Access\"\n  - check_id: \"mysql-cfg-001\"\n    engine: \"mysql\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"6.4\"\n    control_title: \"Ensure test database is not installed\"\n    section: \"6 - Default Objects\"\n  - check_id: \"mysql-cfg-002\"\n    engine: \"mysql\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"6.5\"\n    control_title: \"Ensure secure_file_priv is set\"\n    section: \"6 - File Access\"\n  - check_id: \"mysql-cfg-003\"\n    engine: \"mysql\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"7.5\"\n    control_title: \"Ensure local_infile is disabled\"\n    section: \"7 - Loadable Extensions\"\n  - check_id: \"mysql-cfg-004\"\n    engine: \"mysql\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"9.3\"\n    control_title: \"Ensure super_read_only is enabled on replicas\"\n    section: \"9 - Replication\"\n  - check_id: \"mysql-cfg-005\"\n    engine: \"mysql\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"10.1\"\n    control_title: \"Ensure performance_schema is enabled\"\n    section: \"10 - Observability\"\n  - check_id: \"mysql-log-001\"\n    engine: \"mysql\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"4.2\"\n    control_title: \"Ensure log_error is configured\"\n    section: \"4 - Auditing and Logging\"\n  - check_id: \"mysql-log-002\"\n    engine: \"mysql\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"4.4\"\n    control_title: \"Ensure log_error_verbosity is at least 2\"\n    section: \"4 - Auditing and Logging\"\n  - check_id: \"mysql-log-003\"\n    engine: \"mysql\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"8.1\"\n    control_title: \"Ensure audit_log plugin is active\"\n    section: \"8 - Audit Trail\"\n  - check_id: \"mysql-priv-001\"\n    engine: \"mysql\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"9.1\"\n    control_title: \"Ensure SUPER privilege is restricted\"\n    section: \"9 - Privileges\"\n  - check_id: \"mysql-priv-002\"\n    engine: \"mysql\"\n    framework: \"CIS\"\n    framework_version: \"1.0\"\n    control_id: \"9.2\"\n    control_title: \"Ensure FILE privilege is restricted\"\n    section: \"9 - Privileges\"\n"
  }
}