Database audit logs are kept long enough
A connector test for Microsoft Azure. It runs every 6 hours.
In plain words
Checks that a SQL server that audits to a storage account keeps the audit log for at least the number of days you set.
Why it matters
An incident is often found months after it began. A log deleted after a few days cannot show what happened.
What it reads
- Looks at
- SQL servers
- Permissions
- Reader, Security Reader
- Never reads
- Application data, secrets and anything that changes a resource.
- Needs
- An administrator's consent to Asiri's app. Asiri holds no secret
The rule
Each one it looks at passes or fails on its own, and a failure is named. Anything Asiri could not read is shown as Not run, never as a pass.
Settings and their ranges
| Setting | Default | Range you can set | Changing it |
|---|---|---|---|
| Shortest time the audit log is kept | Default: 90 days | Range: 30 to 3650 days | Changing it: Higher: at once. Lower: a second person |
Making a test stricter is immediate. Making it looser needs a second person.
Controls and frameworks it speaks for
CTL-064 Central log collection and alertingCBN cybersecurity · ISO 27001 · ISO 27701 · NIST CSF · PCI DSS · SOC 2