Skip to main content

ACSC and Microsoft logging best practices

This guide brings together the Australian Cyber Security Centre (ACSC / ASD) event logging guidance, the September 2026 Information Security Manual (ISM), the Essential Eight Maturity Model, and Microsoft Sentinel / Azure Monitor ingestion best practices—and shows how Bower implements each requirement on Linux hosts, Windows servers, cloud sources, and custom applications.

Every ISM identifier on this page is verified against the pinned September 2026 OSCAL catalogue (v2026.09.4); see verified ASVS and ISM IDs and the full ISM alignment table. Bower is one component of a security monitoring architecture and does not certify any deployment by itself.

1. ACSC / ASD best practices​

Centralised logging, integrity, and timeliness (ISM & Essential Eight)​

The ASD Essential Eight Maturity Model requires centralised logging from Maturity Level Two upwards, specifically calling out privileged access and authentication outcomes being centrally logged and protected from unauthorised modification and deletion. The ISM Security monitoring controls establish the operational baseline:

PracticeVerified ISM controlsWhat the standard expectsHow Bower supports it
Documented monitoring scopeISM-0580A security monitoring policy is developed, implemented and maintained.Versioned, hashed policies and signed .bowerpack bundles state exactly which event types are kept. bower policy diff and bower pack diff prove population impact before approval.
Centralised facility & timelinessISM-1405, ISM-1983Centralised logging facility implemented; logs sent as soon as possible.Continuous lease-based delivery loop to Microsoft Sentinel (azure-logs-ingestion or ama-syslog); /v1/status reports oldestUndelivered and source silence degrades /health.
Encrypted transportISM-1984Event logs encrypted in transit with ASD-approved cryptography.HTTPS (TLS 1.2/1.3) for Sentinel Logs Ingestion API and management heartbeats; mutual TLS 1.2/1.3 (with hot-reloading CRLs) for syslog and RELP listeners.
Access control & tamper protectionISM-1985, ISM-1815, ISM-2125Logs protected from unauthorised access, modification, and deletion; service-provider access logged independently.Owner-only queue/archive permissions on Unix; bearer-token/scoped intake; hash-chained SQLite queue ledger whose head is witnessed by management; optional write-once archive verified with bower archive verify --anchor.
Accurate time & structured schemaISM-0988, ISM-0585, ISM-1959Consistent UTC time source; date/time, user or process, filename/target, description, and equipment captured in a consistent, structured format.Canonical UTC ISO 8601 timestamps (microsecond precision) with future-timestamp quarantine (>5 min); one versioned JSON envelope schema (BowerSecurity_CL) with required investigation fields enforced by policy.
Searchable & long-term retentionISM-1988, ISM-1989, ISM-2153Searchable for at least 12 months; retained per AFDA Express v2; threat hunting at least quarterly.bower evidence run inspects Sentinel workspace retention; optional ledger-verified archive (BOWER_ARCHIVE_PATH) retains redacted events on write-once storage with bounded replay.
Assessor-grade verificationEssential Eight Assessment Process GuideTesting a control with a simulated activity is rated excellent evidence; static screenshots are rated only fair.bower evidence run sends a harmless canary through the live pipeline, queries BowerSecurity_CL with a separate read-only verifier identity, checks DCRLogErrors, and signs the resulting bundle.

Event classes ACSC requires centrally logged​

Source classVerified ISM controlsWhat to captureBower starter path
Linux operating systemsISM-1977, ISM-1895, ISM-1509, ISM-1650Successful and failed SSH authentication, sudo privileged command execution and denials, and account/group management (useradd, usermod, userdel, groupadd, groupdel, gpasswd).Signed linux-syslog-security pack over RELP + mTLS (see Transforming Linux syslog), plus linux-journald-ssh or linux-authlog-ssh.
Windows operating systemsISM-0582, ISM-1895, ISM-1509, ISM-1650Network logon failures (4625), privileged group/account changes, and security-channel auditing.windows-security-logon pack via Windows Event Log or Windows Event Forwarding.
Custom applications & APIsISM-1911, ISM-1978, ISM-1979, ISM-2051, ISM-2052, ISM-1910, ISM-2015, ISM-1683Sign-in and MFA outcomes, authorisation failures, sensitive data access/exports, admin changes, crashes/control failures—with sensitive data protected.Signed owasp-asvs-app-logging pack + framework SDK guides.
DatabasesISM-1537, ISM-1536Privileged DBA actions, role/schema changes, failed queries/alerts, and sensitive content access.Database audit parsers inside owasp-asvs-app-logging (pgaudit, MySQL, SQL Server, MongoDB).
Modern cloud & AI controlsISM-2139, ISM-2159, ISM-2125OAuth consent grants and token use, agentic AI tool invocations/outputs, and independent logging of service-provider access.Semantic Bower envelopes with pre-persistence redaction (prompts/tokens never stored raw) and self-hosted customer-owned collectors.

ACSC Event Logging Format & Australian Privacy (APP 11.3)​

ACSC event logging guidance recommends:

  1. Structured JSON with a consistent schema rather than ad-hoc free text (ISM-1959).
  2. UTC ISO 8601 timestamps with millisecond or microsecond precision (ISM-0988)—never rely on classic RFC 3164 timestamps without year or timezone, which drift by 10–11 hours in AEST/AEDT and break across New Year.
  3. A globally unique event identifier on every record so retries deduplicate cleanly and investigations can cite exact rows.
  4. Protect sensitive data before storing or transmitting (ISM-2052 and APP 11.3): Australian Privacy Principle 11.3 requires technical and organisational measures to protect personal information. Because Microsoft documents that Sentinel workspaces outside Europe and Israel process customer data in a US region even when raw storage sits in Australia, Bower removes or masks Australian identifiers (TFN, Medicare, IHI, ABN, ACN, CRN), payment cards, and credentials on the collector host before writing to disk or calling Azure, and checks that the Sentinel workspace, DCR, and DCE reside in Australian regions (bower doctor).

2. Microsoft Sentinel & Azure Monitor best practices​

Microsoft's own guidance for modern Sentinel ingestion highlights several architectural patterns and pitfalls that Bower enforces by default:

Ingestion API, identity, and DCR design​

Microsoft best practiceWhy it mattersHow Bower enforces it
Use the Logs Ingestion API + kind: Direct DCRs (not the retired HTTP Data Collector API)The legacy HTTP Data Collector API reached end of support in September 2026. kind: Direct DCRs avoid separate DCE management unless Private Link is required.deploy/bicep/main.bicep and bower dcr generate produce kind: Direct DCRs targeting BowerSecurity_CL (with optional DCE for Private Link).
Use Managed Identity, Azure Arc, or Workload Identity—avoid client secretsLong-lived Entra client secrets are a frequent credential-leak risk and rotation burden.Bower defaults to DefaultAzureCredential (Managed Identity, Arc, Workload Identity) and certificate auth; never persists access tokens to disk.
Respect service limits before sendingLogs Ingestion API caps requests at 1 MB gzipped, silently truncates fields over 64 KB, enforces TLS 1.2+, rejects reserved column names (TenantId, Type), and rate-limits per DCR (Retry-After).Bower.Output.AzureLogsIngestion enforces <1 MB compressed batches, honours Retry-After, enforces TLS 1.2+, and the privacy engine caps field lengths deterministically before upload.
Avoid fragile cloud-side DCR KQL parsingDCR transformations cap at 15,360 characters, limit parse to 10 columns, and parse kind=regex must match the entire string (causing silent nulls when a query regex is pasted into a DCR).Bower parses and transforms events deterministically inside signed packs before upload, so the DCR stays simple, schema-driven, and checked for drift (bower doctor).
Plan for Microsoft Defender portal & Data Lake tieringMicrosoft Sentinel transitions fully into the Microsoft Defender portal (after March 2027) and supports Analytics vs Data Lake / Auxiliary table tiers (Australia East supports the Sentinel data lake).Keep high-signal, low-noise BowerSecurity_CL events on the Analytics tier for real-time detections and hunting; store full compliance retention in the Analytics/Archive window or Bower's optional write-once archive (ISM-1989).
Align fields with ASIM & replay-safe KQL parsersConsistent field names (TargetUsername, SrcIpAddr, EventResult, DvcHostname) accelerate SOC triage and cross-source hunting.Every Bower pack parser declares OCSF and ASIM mappings, and Solutions/Bower/ ships replay-safe KQL parsers (BowerSecurityEvents, BowerSecurityEventsOfType) that deduplicate at-least-once deliveries by EventId.

Linux syslog collection best practices​

When collecting security logs from Linux fleets for Microsoft Sentinel:

  1. Prefer RELP over mutual TLS (rsyslog omrelp) over plain TCP/TLS or UDP. Plain TCP and TLS syslog have no application acknowledgement: frames in kernel socket or TLS buffers are silently lost on collector restarts, OOM kills, or TCP resets. Bower's RELP listener returns 200 OK only after durable SQLite commit (synchronous=FULL). See 01 — Reliable syslog delivery.
  2. Always emit RFC 5424 with high-precision UTC timestamps (RSYSLOG_SyslogProtocol23Format). RFC 5424 includes full year, timezone, and sub-second precision, which ensures deterministic event IDs so RELP retries deduplicate cleanly and timestamps match across AEST/AEDT/UTC fleets.
  3. Use octet-counted framing on TCP/TLS (TCP_Framing="octet-counted" in rsyslog). Line-delimited framing allows embedded CR/LF characters in untrusted messages to forge second syslog frames.
  4. Filter at the Linux sender and enforce default deny at the collector. Forward only security-relevant programs (sshd, sshd-session, sudo, useradd, usermod, userdel, groupadd, groupdel, gpasswd)—never ship raw debug, cron, or verbose application noise—and pair every listener route with a signed Bower pack parser.
  5. Configure persistent journald + disk-assisted rsyslog queues and tune rate limits. Stock rsyslog imjournal and systemd-journald rate limits drop events during authentication bursts or patching windows. Enable Storage=persistent, increase burst limits, and configure disk-assisted LinkedList queues with queue.saveOnShutdown="on".
  6. Do not rely on AMA text-mode collection for ISO 8601 fractional-second logs. Microsoft documents that AMA text-mode log collection does not support ISO 8601 timestamps with fractional seconds as record delimiters; when pairing Bower with AMA, use BOWER_OUTPUT=ama-syslog or strict JSONL spooling rather than raw text-file collection.

Putting both together on Linux​

To apply these ACSC and Microsoft practices immediately to a Linux fleet, follow Transforming Linux syslog with Bower. It includes ready-to-use rsyslog (omrelp + mTLS) and syslog-ng (TLS) client configurations, the signed linux-syslog-security pack, and verification steps.