Audit events

Every audit action Structam records, with its category, the default severity SIEM sinks receive, whether code or a database trigger writes it, and when.

On this page

Every audit row has an action from this list, which is generated from the product's own list of actions (a product test fails when that list and the code differ). How the log is chained, verified and forwarded is on the SIEM and TAXII page.

How to read the table

  • Severity is the default severity SIEM sinks receive: info, low, medium or high.
  • Written by says whether code records the event, in the same transaction as the change, or a database trigger does, for every insert, update and delete of the table, whichever code path wrote it.
  • Pre-auth (aggregated) events can be caused by anyone who reaches the server. Their fields are capped, and only the first one per action and source address in each 10-minute window is written; the rest are counted and summarised in one row when the window closes.
  • Secret values never appear in an event: a changed secret shows as (set) or (changed).

Actions

ActionCategorySeverityWritten byWhen
agent.clone_suspectedagenthighcodeone agent key was used from two machines
agent.commandagentmediumcodea command was queued for an agent
agent.enrolagentmediumcodean agent enrolled with a join token
agent.matchagentmediumcodean agent was matched to a host by hand
agent.protocol_violationagenthighcodean agent broke the wire protocol and was disconnected
agent.rejectagentmediumcode, pre-auth (aggregated)an agent connection was refused (admission stamp, proof or token invalid)
agent.replacedagentmediumcodea new agent replaced the one bound to a host
agent.revokeagenthighcodean agent was revoked
agent.updateagentlowcodean agent self-update was started or rolled back
api.requestapiinfocodea mutating API call no more specific event covers, or a denied one
api.unauthorizedapiinfocode, pre-auth (aggregated)a mutating API call without valid credentials, or a cross-site one, was refused
asset.createassetlowtriggerasset details of a host created
asset.deleteassetlowtriggerasset details of a host deleted
asset.updateassetlowtriggerasset details of a host changed
assistant.askassistantinfocodea question was asked of the assistant
audit.checkpointauditinfocodethe audit chain head, signed by the server identity key
audit.exportauditmediumcodethe audit log was exported (GET /audit/export; detail carries the format, filters and row count)
audit.retentionauditmediumcodeaudit partitions older than the retention window were dropped
auth.lockoutauthhighcodean account was locked after repeated failures
auth.loginauthinfocodea user signed in (password, OIDC or LDAP)
auth.login_failedauthmediumcode, pre-auth (aggregated)a sign-in failed (wrong password, unknown user, failed second factor)
auth.logoutauthinfocodea user signed out
auth.password_changeauthmediumcodea user changed or reset a password
auth.session_revokeauthmediumcodesessions were revoked
auth.totp_enrolauthmediumcodea user enrolled or removed a TOTP second factor
change.approvechangelowcodechange events were approved
change.commentchangeinfocodea comment was added to a change event
change.rejectchangemediumcodechange events were rejected
change.retentionchangemediumcodechange_event partitions older than the retention window were dropped
change_rule.createchangemediumtriggera change rule created
change_rule.deletechangemediumtriggera change rule deleted
change_rule.updatechangemediumtriggera change rule changed
config.baselineconfiglowcodeconfiguration baselines were set
config.exportconfigmediumcodeconfiguration files were exported as of a point in time
config.retentionconfigmediumcodeconfiguration versions older than the retention window were deleted
config.view_rawconfigmediumcodeunredacted configuration content was viewed
directory_group_map.createaccesshightriggera directory group mapping created
directory_group_map.deleteaccesshightriggera directory group mapping deleted
directory_group_map.updateaccesshightriggera directory group mapping changed
discovery.sweepintegrationmediumcodean agentless discovery sweep ran
discovery_target.createintegrationmediumtriggera discovery target created
discovery_target.deleteintegrationmediumtriggera discovery target deleted
discovery_target.updateintegrationmediumtriggera discovery target changed
entitlement.createassetlowtriggera software entitlement created
entitlement.deleteassetlowtriggera software entitlement deleted
entitlement.updateassetlowtriggera software entitlement changed
grant.createaccesshightriggera role grant created
grant.deleteaccesshightriggera role grant deleted
grant.updateaccesshightriggera role grant changed
group.createaccessmediumtriggera group created
group.deleteaccessmediumtriggera group deleted
group.updateaccessmediumtriggera group changed
group_member.createaccessmediumtriggera group membership created
group_member.deleteaccessmediumtriggera group membership deleted
group_member.updateaccessmediumtriggera group membership changed
host_note.createassetinfotriggera note on a host created
host_note.deleteassetinfotriggera note on a host deleted
host_note.updateassetinfotriggera note on a host changed
infradb.linkintegrationinfocodeStructam wrote its link (external_links, config_backup_url) into an InfraDB host
infradb.syncintegrationinfocodean InfraDB sync run finished
infradb.unlinkintegrationinfocodeStructam removed its link from an InfraDB host it is no longer linked to
join_token.createagenthightriggera join token created
join_token.deleteagenthightriggera join token deleted
join_token.updateagenthightriggera join token changed
licence.activatelicencemediumcodea licence was activated or an activation file uploaded
licence.statelicencehighcodethe licence state changed (valid, grace, restricted)
netbox.bootstrapintegrationmediumcodeNetBox custom fields and choice sets were created
netbox.syncintegrationinfocodea NetBox sync run finished
netbox.writebackintegrationinfocodeStructam wrote custom fields or journal entries to NetBox
onboard.scriptagentinfocode, pre-auth (aggregated)an install script was downloaded
onboard.unsigned_downloadagentmediumcode, pre-auth (aggregated)an agent binary was downloaded by an install script that did not check the release signature (--allow-unsigned, or install.ps1 without OpenSSL 3)
policy.createagentmediumtriggeran agent policy created
policy.deleteagentmediumtriggeran agent policy deleted
policy.updateagentmediumtriggeran agent policy changed
policy_assignment.createagentmediumtriggera policy assignment created
policy_assignment.deleteagentmediumtriggera policy assignment deleted
policy_assignment.updateagentmediumtriggera policy assignment changed
role.createaccesshightriggera role created
role.deleteaccesshightriggera role deleted
role.updateaccesshightriggera role changed
server_key.createsystemhightriggera server identity key created
server_key.deletesystemhightriggera server identity key deleted
server_key.rotatesystemhighcodestructam server-key rotate started or finished a rotation
server_key.updatesystemhightriggera server identity key changed
setting.createsettingmediumtriggeran integration or system setting created
setting.deletesettingmediumtriggeran integration or system setting deleted
setting.updatesettingmediumtriggeran integration or system setting changed
setting_secret.createsettinghightriggera sealed setting secret created
setting_secret.deletesettinghightriggera sealed setting secret deleted
setting_secret.updatesettinghightriggera sealed setting secret changed
sink.createintegrationhightriggera SIEM or TAXII sink created
sink.dead_letterintegrationmediumcodea sink refused one event for its content (Splunk HEC codes 6, 12, 13) and the event was skipped
sink.deleteintegrationhightriggera SIEM or TAXII sink deleted
sink.skip_to_nowintegrationhighcodea sink's backlog was skipped
sink.testintegrationinfocodea test event was sent to a sink
sink.updateintegrationhightriggera SIEM or TAXII sink changed
system.lease_updatesystemmediumcodea background task was paused, resumed or triggered
system.migratesystemmediumcodeschema migrations were applied
system.secret_key_rotatesystemhighcodestructam rotate-secret-key re-sealed stored secrets
token.createaccesshightriggeran API token created
token.deleteaccesshightriggeran API token deleted
token.updateaccesshightriggeran API token changed
user.createaccessmediumtriggera user created
user.deleteaccessmediumtriggera user deleted
user.updateaccessmediumtriggera user changed

Questions the docs do not answer?

Ask the people who build Structam. Installation media and licences come from KazLabs.

Talk to us