AI Incident Response: Audit Logs and Shutdown Steps
Published Updated
AI incident response starts by stopping the part of the system that’s causing harm. Use the audit trail to find which requests and actions were affected. Give an on-call responder a way to stop new requests and in-progress work before launch. The evidence tells you who was affected and whether you need to notify anyone.
What Counts as an AI Incident
An AI incident is an event in which an AI system causes harm or creates a credible risk that needs immediate investigation or containment. An assistant could reveal one customer’s details to another. An agent could make a change to a business record without approval. A sudden rise in model spend could mean requests are being retried in a loop.
An incorrect answer can also cause harm when someone acts on it. The OECD’s AI Incidents Monitor records the case of Air Canada’s chatbot giving a passenger incorrect advice about a bereavement fare. The passenger relied on that advice, and a tribunal ordered the airline to pay compensation. OECD AI Incidents Monitor
A cross-customer leak can be both an AI incident and a privacy breach. Unauthorised access to a connected system can also be an information security incident because it can compromise the confidentiality, integrity or availability of information. A cost spike caused by retries can be an operational incident even when access controls worked. Record what happened and use the relevant response procedures in parallel when categories overlap.
Audit Logs an AI System Must Keep
An AI audit trail must let a responder connect the request to the answer or action that followed. Use a shared request ID and timestamps across the assistant, the model and any connected tools. Include a way to distinguish attempts, retries and background jobs.
| What to record | What it lets you establish |
|---|---|
| User and execution identity | Who started the request and which service account ran the work |
| Prompt and configuration version | What the system was asked to do and which instructions it used |
| Sources used | Which document or record versions the system retrieved |
| Model and version | Which model produced the response and whether a version changed during the event |
| Tool calls and results | What the system attempted, what it changed, whether a person approved it and whether the action succeeded |
| Output and destination | What the user received or what the system sent to another application |
Keep approved redacted copies of prompts and outputs where the content is needed to investigate. Event IDs and access decisions often answer who did what without duplicating a customer’s records. Keep credentials out of logs. Restrict access to detailed records and store them outside the agent’s write access so an agent can’t alter its own audit trail.
For spend investigations, join request IDs to usage and billing records. Use AI observability to decide which patterns alert the on-call team.
Set a retention period for each kind of log based on why you need it, and apply it to copies held by providers. If the Australian Privacy Principles (APPs) apply, take reasonable steps to destroy or de-identify personal information when you no longer need it for an authorised purpose. APP 11.2 has exceptions for Commonwealth records and records an Australian law or court or tribunal order requires you to keep. Preserve incident evidence in a restricted store while an investigation or legal requirement justifies keeping it. OAIC’s APP 11 guideline
Stopping an AI System Fast
Decide in advance how to stop one feature, halt the whole system or cut off a compromised credential. Give a named on-call role and a backup the access they need. The controls must be available when the AI service is down.
| Option | Who uses it and when | What to verify before launch |
|---|---|---|
| Turn off a feature | The service owner or on-call operator disables a suspect connector or action when the rest of the service can run safely | The disabled action stops across the chat interface and background workers while the approved features still work |
| Use the kill switch | The incident lead or authorised on-call engineer pauses the whole service when the scope is unclear or harm continues | New requests stop. Queued work can’t start and work already running can’t make further changes |
| Revoke a credential | The security responder or credential owner revokes the affected credential if it can still be used to cause harm | The revoked test credential loses access, the agent’s remaining permissions match the response plan and responders can still collect evidence |
| Switch to manual work | The operations lead assigns requests to staff when an automated route stops | A test request reaches the staffed queue with enough context for a person to continue and is processed only once |
Practise these checks in an authorised test environment using synthetic records and harmless actions on test systems. For a hypothetical support agent, queue a change to a test ticket and use the switch while a second test job is running. Verify in the destination’s audit trail that neither job writes after the stop, then confirm staff receive the request in the manual queue.
A stop can prevent new writes while earlier actions remain in the destination. Record which requests finished before the stop and have the affected service owner reconcile them. If shutting off the interface leaves workers running, fix the stop at the action layer and rerun the exercise. Give a named person authority to restart after remediation and test queued work for duplicate actions before allowing it to resume. NIST’s Generative AI Profile
Steps to Respond to an AI Incident
Start with containment and record when your team became aware of the incident. Run assessment and notification in parallel when a reporting obligation or deadline applies.
- Contain the incident. Pause the affected feature or system and block the action path that can cause further harm. Preserve the relevant logs and configuration, and record which changes responders made.
- Assess the harm. Trace affected requests and establish what data or actions were involved. Check who received the output, whether anyone relied on it and which downstream records changed.
- Notify the people who need to act. Have the incident lead coordinate updates and the privacy or compliance lead assess regulatory obligations. Tell affected teams what happened, what’s confirmed and which protective actions they can take.
- Fix the cause and repair the effects. Correct bad outputs or affected records where possible, and restore the service only after a controlled check shows the failure is contained. If the agent crossed an approval boundary, verify that a harmless test action stops at that boundary.
- Review the response. Compare the timeline with the plan. Assign owners and deadlines for any missed alert, incomplete log or ineffective shutdown control. Repeat the failed part of the exercise after the fix.
Australian Breach Notification
For entities covered by the Notifiable Data Breaches scheme, an eligible breach can follow unauthorised access to or disclosure of covered information. Loss also qualifies when unauthorised access or disclosure is likely. The test is whether a reasonable person would expect the access or disclosure to be likely to cause serious harm to someone whose information is involved. Remedial action taken before serious harm occurs can remove that likelihood and change who must be notified.
If you have reasonable grounds to suspect an eligible breach, promptly assess it. Take all reasonable steps to finish within 30 calendar days after the day you became aware of those grounds.
Once you have reasonable grounds to believe an eligible breach occurred, prepare a statement for the Australian Information Commissioner. Give the Commissioner a copy and notify the relevant individuals as soon as practicable, subject to the scheme’s exceptions. If direct notice is impracticable, the scheme provides for publication and reasonable steps to publicise the notice. OAIC’s Notifiable Data Breach scheme guidance
An entity regulated by the Australian Prudential Regulation Authority (APRA) must assess CPS 234 separately. Notify APRA as soon as possible and within 72 hours of becoming aware of a qualifying information security incident. That includes an incident that materially affects or could materially affect the entity or the interests of depositors, policyholders, beneficiaries or other customers. An information security incident reported to another regulator also triggers the rule, subject to paragraph 35’s scope. CPS 234 information security standard
Writing an AI Incident Response Plan
Use the data breach response plan template to record responsibilities and contacts, then add an AI section to your existing incident response plan. Name the incident lead and backup. Identify who can stop the system, preserve evidence, assess privacy and prudential obligations and authorise recovery. Record after-hours escalation routes for the model provider and each vendor that hosts data or runs a connected tool.
Give each incident type its own short playbook. For data leakage, suspend the affected data path and trace who received the information. For harmful advice, withdraw the advice where possible and identify who may have acted on it. For an unapproved agent action, pause writes and reconcile downstream changes with the system owner. For a spend spike, pause the affected workload and use request counts and billing records to distinguish a retry loop from unexpected credential use.
Make the final exercise an on-call handover. Give the responder a test alert and confirm they can find the right switch, reconstruct the event from the logs and route the work to a person. Record how long each action took and fix any step that depends on the person who built the system being available.
Related reading
Australian Data Breach Response Plan Template
Prepare for a data breach before it happens. Fill in this template with your team, systems and contacts to get a plan built on the OAIC’s scheme.
Notifiable Data Breach Rules for AI Systems
An assistant showed one customer another’s details. Is that a notifiable data breach? How to assess it, who to notify and how to limit harm.
AI Observability: Tracing, Evaluation and Costs
How do you know your AI assistant or agent works once it is live? Learn what AI observability tracks, from traces and quality scores to cost and drift.
AI Agent Security: Sandboxing and Permissions
AI agents act with real access to your systems. Learn how to sandbox them, limit their permissions, give each agent its own identity and log its actions.
embeddings
Embeddings is an Australian AI consultancy. We design, build and run AI systems inside the software, documents and data organisations already use, from offices in Perth and Melbourne.
About Embeddings