Skip to main content

Audit policy

2readings
0conditions
1themes fed
Livestatus

Windows audit subcategory set and framework, with a config-change occurrence when it changes.

Topic id: audit_policy.

Changes (2)​

This topic reports what the host looks like, so its news is what CHANGED between two reports. Each change below is a named fact you can ask about across the fleet.

​

audit_policy_coverage_reduced
What it is
The machine's audit policy stopped recording some Security events it recorded before.
Why it matters
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.

​

audit_policy_changed
What it is
The machine's audit policy now records more kinds of Security events than before.
Why it matters
Windows writes more Security events, so the Security log wraps sooner and log volume rises.

Fields (11)​

Which audit subcategories are recording and which audit framework reports them, with a configuration change when the set changes.

Full inventory every day. Supported changes are reported when the agent observes them.

Audit policy (11)​

sparklogs.data.audit_policy.audit_framework
string
Which audit system the policy comes from. Always windows_advanced_audit (the Windows Advanced Audit Policy) on Windows.
sparklogs.data.audit_policy.audit_events
string_array
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.
sparklogs.data.audit_policy.audit_subcategories
object_array
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.
sparklogs.data.audit_policy.audit_subcategories[].native_id
string
In each audit_subcategories entry.
sparklogs.data.audit_policy.audit_subcategories[].success
bool
In each audit_subcategories entry.
sparklogs.data.audit_policy.audit_subcategories[].failure
bool
In each audit_subcategories entry.

Example​

Inventory (every day)

audit policy; 24 events enabled, logon success audited.

sparklogs.data.audit_policy.audit_events: ["account_management_failure", "account_management_security_group_success", "account_management_success", "account_management_user_failure", "account_management_user_success", "authentication_credential_validation_failure", "authentication_credential_validation_success", "authentication_failure", "authentication_success", "logon_account_lockout_failure", "logon_failure", "logon_logoff_success", "logon_logon_failure", "logon_logon_success", "logon_special_logon_success", "logon_success", "policy_change_audit_policy_success", "policy_change_authentication_policy_success", "policy_change_success", "system_failure", "system_integrity_failure", "system_integrity_success", "system_security_state_change_success", "system_success"]
sparklogs.data.audit_policy.audit_framework: windows_advanced_audit

SparkLogs: CONTEXT, Info, audit_policy: INVENTORY: audit policy; 24 events enabled, logon success audited.

Inventory (every day)

audit policy; 0 events enabled, logon success not audited.

sparklogs.data.audit_policy.audit_events: []
sparklogs.data.audit_policy.audit_framework: windows_advanced_audit

SparkLogs: CONTEXT, Info, audit_policy: INVENTORY: audit policy; 0 events enabled, logon success not audited.

Change set

2 changed, 2 disabled; "-logon_logon_success" "-logon_success".

sparklogs.data.audit_policy.delta_kind: changed
sparklogs.data.audit_policy.audit_events: ["account_management_success", "account_management_user_success", "logon_account_lockout_failure", "logon_failure", "logon_logon_failure", "policy_change_audit_policy_success", "policy_change_success"]
sparklogs.data.audit_policy.audit_framework: windows_advanced_audit

SparkLogs: CONTEXT, Info, audit_policy: DELTA: 2 changed, 2 disabled; "-logon_logon_success" "-logon_success".