{
  "changes": [
    {
      "code": "audit_policy_coverage_reduced",
      "consider": [
        "The removed events in the event against the client's audit baseline for the machine's role, servers and domain controllers first.",
        "`auditpol /get /category:*` shows the policy in force now.",
        "`gpresult /h <file>` shows which Group Policy object, if any, sets the audit policy.",
        "Restore the baseline if the change was not planned."
      ],
      "explanation": "At least one audit subcategory stopped recording success or failure events, even if the same change turned others on. An attacker covering their tracks makes this change, and so do a security tool, a cleanup script, or a Group Policy edit that went wider than intended. SparkLogs also collects Security event 4719 from the same machine, which records each audit policy change; when the change was made on the machine itself, it names the account.",
      "impact": "Events that are no longer recorded cannot be recovered later: with logon auditing off on a server, an intrusion leaves no trail of who signed in.",
      "label": "Audit coverage reduced",
      "scenario": "Someone runs auditpol on a file server to switch off logon auditing.",
      "summary": "The machine's audit policy stopped recording some Security events it recorded before."
    },
    {
      "code": "audit_policy_changed",
      "consider": [
        "The added events in the event against the client's audit baseline for the machine's role.",
        "`auditpol /get /category:*` on the machine lists the policy in force, by subcategory name.",
        "The Security log's maximum size (Event Viewer, Security, Properties), if it now wraps too soon."
      ],
      "explanation": "One or more audit subcategories now record success or failure events they did not record before, and none stopped. Group Policy, a security tool, or an administrator running `auditpol` makes this change; a new audit baseline shows it on every machine it reaches.",
      "impact": "Windows writes more Security events, so the Security log wraps sooner and log volume rises.",
      "label": "Audit policy changed",
      "scenario": "A new Group Policy object turns on process creation auditing on a file server, so Windows logs event 4688 for every program that starts.",
      "summary": "The machine's audit policy now records more kinds of Security events than before."
    }
  ],
  "conditions": [],
  "fieldGroups": [
    {
      "id": "audit_policy",
      "title": "Audit policy"
    }
  ],
  "fieldPrefix": "sparklogs.data.audit_policy.",
  "fields": [
    {
      "doc": "Which audit system the policy comes from. Always `windows_advanced_audit` (the Windows Advanced Audit Policy) on Windows.",
      "group": "audit_policy",
      "name": "audit_framework",
      "type": "string"
    },
    {
      "doc": "What the audit policy records, sorted. Each entry is a family, an optional detail and an outcome (`success` or `failure`), such as `logon_logon_success`. A family entry such as `logon_success` is also listed when any of its subcategories records that outcome. Families: `logon`, `authentication`, `process_creation`, `process_termination`, `detailed_tracking`, `file_access`, `object_access`, `network`, `account_management`, `policy_change`, `privilege_use`, `system`, `directory_service`. An empty list means the policy was read and records nothing. Absent when the policy could not be read; the previous value then stands.",
      "group": "audit_policy",
      "name": "audit_events",
      "type": "string_array"
    },
    {
      "doc": "Every audit subcategory Windows defines, in `auditpol` order, with whether the policy records its successes and failures. `native_id` is the subcategory GUID. A subcategory SparkLogs recognizes also has its `audit_event` and `family` and the English names `auditpol` prints; any other has the names Windows gives in the machine's display language, marked `native_name_source` `os`. A change to this list alone raises no change event; `audit_events` decides that. Absent when the policy could not be read; the previous value then stands.",
      "group": "audit_policy",
      "name": "audit_subcategories",
      "type": "object_array"
    },
    {
      "doc": "In each `audit_subcategories` entry.",
      "group": "audit_policy",
      "name": "audit_subcategories[].native_id",
      "type": "string"
    },
    {
      "doc": "In each `audit_subcategories` entry.",
      "group": "audit_policy",
      "name": "audit_subcategories[].success",
      "type": "bool"
    },
    {
      "doc": "In each `audit_subcategories` entry.",
      "group": "audit_policy",
      "name": "audit_subcategories[].failure",
      "type": "bool"
    },
    {
      "doc": "In each `audit_subcategories` entry.",
      "group": "audit_policy",
      "name": "audit_subcategories[].audit_event",
      "type": "string"
    },
    {
      "doc": "In each `audit_subcategories` entry.",
      "group": "audit_policy",
      "name": "audit_subcategories[].family",
      "type": "string"
    },
    {
      "doc": "In each `audit_subcategories` entry.",
      "group": "audit_policy",
      "name": "audit_subcategories[].native_name",
      "type": "string"
    },
    {
      "doc": "In each `audit_subcategories` entry.",
      "group": "audit_policy",
      "name": "audit_subcategories[].native_category",
      "type": "string"
    },
    {
      "doc": "In each `audit_subcategories` entry.",
      "group": "audit_policy",
      "name": "audit_subcategories[].native_name_source",
      "type": "string"
    }
  ],
  "name": "Audit policy",
  "occurrences": [],
  "page": "/docs/it-fleet-intelligence/reference/topics/audit-policy",
  "status": "live",
  "summary": "Windows audit subcategory set and framework, with a config-change occurrence when it changes.",
  "topic": "audit_policy"
}
