Incident response playbook · IR-31

Cloud Storage or Database Exposed to the Internet: Response Playbook

A bucket, blob container, database or share was found open to the public or shared by an anonymous link. Here is who to call first, what to do in order, and how to close it out.

IT team working through an incident in a server room
One page · one incident
Every step has an owner
13stages from readiness to lessons learned
5calls in order
11numbered response steps

Each playbook in our sample plan fits on one printed page, so it still works when systems are down.

ocsa eid hero it leader server room
From our sample report
See this playbook as we deliver it

This is the exposed cloud storage or database page from the 50-playbook sample we prepared for a fictional distribution company.

Sample · fictional companySample playbook page IR-31 (Kestrel Harbor Distribution, fictional company)
Usual severity SEV 2 HighCategory Cloud servicesCalled first Security leadPlaybook IR-31
The one-minute answer

What to do when this happens

What it is: A bucket, blob container, database or share was found open to the public or shared by an anonymous link.

First call: Security lead, who works with the IT Director acting as Incident Commander.

The move that matters most: Remove public access and anonymous links now. Rotate every key or password that was stored there.

A storage bucket, blob container, database or file share found open to the public, or shared through an anonymous link, may already have been copied by someone else. Automated scanners look for exactly this kind of exposure.

This playbook removes public access at once, rotates every key or password stored there, uses the access logs to find out who reached the data, and brings in the company attorney to decide whether the exposure is reportable.

What it is

Common causes and early warning signs

Common causes

  • A storage container or bucket set to public access
  • Anonymous sharing links on files or folders
  • A database or search index reachable from the internet without authentication
  • Keys or passwords stored in the exposed data

Early warning signs

  • An outside researcher or customer reports the exposure
  • Cloud security tools flag public access
  • Unexpected downloads in storage access logs
  • Company data appearing on another site
Who to call

Call order and departments involved

The playbook lists who is told, in order, so nobody spends the first half hour deciding whom to call. This is the call order from the sample plan; in your plan the names, alternates and phone numbers are your own.

  1. 1Security lead
  2. 2Cloud lead
  3. 3CISO
  4. 4Company attorney
  5. 5Privacy officer

Departments involved

Each department has a defined role during the incident, described on the departments page of the playbook set.

IT SecurityCloudLegalCompliance
The 13 stages

Step by step: before, during and after

Every playbook follows the same 13 stages, so the team always knows where it is. The steps below are the sample playbook’s own words.

Before the incident · readiness

Organization policy blocking public storage. Alerts for any resource made public. Data classification of cloud stores.

Owner: IT management
During the incident · steps 1 to 11
  1. STEP 01
    FIRST INFORMATION
    First information

    Record who reported it, when and what they saw. Resource name and URL, how it was found, and what data it holds.

    Led by: Service Desk, Security team
  2. STEP 02
    DATA COLLECTION
    Data collection

    Storage access logs for the whole exposure period; activity log showing who made it public and when; inventory of the data inside.

    Led by: Security team
  3. STEP 03
    DISCOVERY AND SCOPE
    Discovery and scope

    Establish how long it was public, which addresses downloaded what, and whether credentials were stored in it.

    Led by: Security team
  4. STEP 04
    PRESERVATION
    Preservation

    Export access and activity logs before changing anything. Screenshot the public setting.

    Led by: Security team
  5. STEP 05
    SERVICE STATUS
    Service status

    Confirm applications that use the resource still work after access is restricted.

    Led by: Service Desk / NOC
  6. STEP 06
    WORK ON THE INCIDENT
    Work on the incident

    Remove public access and anonymous links now. Rotate every key or password that was stored there.

    Led by: Security team
  7. STEP 07
    ANNOUNCEMENTS
    Announcements

    Inform the CISO and CIO within 30 minutes. Tell affected staff what to do through a trusted channel. No outside statement without the attorney.

    Led by: Incident Commander, Communications
  8. STEP 08
    LEGAL PROCEDURE
    Legal procedure

    Call the company attorney before any outside statement. The attorney decides whether this is a reportable breach and sets each deadline. Notify the cyber insurance carrier before hiring vendors.

    Led by: Attorney, Compliance, CISO
  9. STEP 09
    FIX
    Fix

    Scan all subscriptions and accounts for other public resources and correct the template or process that created it.

    Led by: Security team
  10. STEP 10
    RECOVER AND VERIFY
    Recover and verify

    Enable the policy that prevents public storage and confirm the alert fires.

    Led by: Security team, system owners
  11. STEP 11
    RECOVERY NOTICE
    Recovery notice

    Tell the same audience that service is restored, what they must do now, and who to call if a problem remains. Outside statements only as the attorney approves.

    Led by: Incident Commander, Communications
After the incident · steps 12 and 13
  1. STEP 12
    FINALIZE AND DOCUMENT
    Finalize and document

    Close the incident record with the timeline, evidence list, downtime and cost. Issue the incident report. Keep evidence for as long as the attorney instructs.

    Led by: Incident Commander
  2. STEP 13
    LESSONS LEARNED
    Lessons learned

    Hold a review within 5 business days with every department involved. If you cannot prove nobody accessed the data, treat it as accessed until the attorney advises otherwise.

    Led by: All departments

Time targets in the announcement step belong to the fictional sample company. OC Security Audit does not promise response or recovery times; your own targets are agreed during planning.

From our sample report

What this playbook looks like when we deliver it

These are real pages from the incident response sample we prepared for Kestrel Harbor Distribution, a fictional company. Use the arrows or thumbnails, and click a page to zoom in.

Sample report page (Kestrel Harbor Distribution, fictional company): Playbook IR-31: exposed cloud storage or database (one page in the sample playbook set)
Playbook IR-31: exposed cloud storage or database (one page in the sample playbook set)1 / 3
Sample · Kestrel Harbor Distribution is a fictional company
Mistakes to avoid

What turns this incident into a longer one

  • Deleting the exposed data before saving the access logs
  • Leaving secrets that were stored there unchanged
  • Assuming nobody found it
  • Not checking other containers for the same setting

Most of these are prevented in the readiness stage. A Azure Cloud Security Audit checks the settings behind them, and an incident response readiness assessment checks whether the people, contacts and decisions are in place. To prevent it in the first place, read our guide to data leakage and misconfiguration prevention.

Frameworks

Where auditors and insurers expect this

A documented and tested playbook for this incident is evidence for several frameworks and for cyber insurance questionnaires.

Framework or ruleWhat it expects
NIST CSF 2.0RS.MA (incident management), RS.CO (incident response reporting and communication), RC.RP (incident recovery plan execution)
NIST SP 800-61 Rev. 3Incident response recommendations mapped to the CSF 2.0 functions
ISO/IEC 27001:2022Annex A 5.24 to 5.27 (incident management), 5.29 (security during disruption), 5.30 (ICT readiness for business continuity)
HIPAA Security Rule45 CFR 164.308(a)(6) security incident procedures and 164.308(a)(7) contingency plan, where the business handles ePHI
SOC 2CC7.4 and CC7.5 (respond and recover), A1.2 and A1.3 (availability: recovery infrastructure and testing)
PCI DSS v4.0.1Requirement 12.10.1, an incident response plan ready to activate, where card data is in scope

General information, not legal advice. Your attorney and auditor confirm what applies to your business.

Get it written for your business

Turn this sample into your own plan

Incident Response Plan & Playbooks

$3,500 fixed

We write your incident response plan and the playbooks for the incidents most likely to hit your business, including exposed cloud storage or database, with your contacts, systems, call order and decision authority.

See what is included

Incident Response Advisory & Evidence Preservation

$3,500 per engagement

When this happens, we help you preserve evidence, coordinate the response with your IT team, attorney and insurer, and document every decision.

Learn more

Already in the middle of an incident? See Incident Response Advisory & Evidence Preservation. Want to know how ready you are first? Start with the readiness assessment. All options are on the incident response and outage resilience page and the pricing page.

Ali Hassani, CISO, CISSP
Written by

Ali Hassani, CISO

Ali Hassani is a Certified CISO (C|CISO) and CISSP with more than 25 years in IT, cybersecurity and infrastructure. He has designed, implemented and secured more than 100 business networks. OC Security Audit is based in Irvine, California, works on-site across Orange County, Los Angeles and Southern California, and remotely nationwide.

FAQ

Questions about this playbook

Has anyone accessed the data?

The storage access logs, if enabled, show who read it. Without logs, the attorney may have to assume it was accessed.

What else must we change?

Every key, password or token that was stored in the exposed location, because it may be in someone else's hands.

How do we prevent it?

Block public access at the account or subscription level, review sharing links and keep access logging on.

Is this playbook legal advice?

No. The legal step tells the team when to involve the company attorney and the cyber insurance carrier. The attorney decides whether an incident is reportable and confirms every deadline.

Can OC Security Audit write playbooks for our business?

Yes. Incident Response Plan & Playbooks is a $3,500 fixed engagement: we write your plan and the playbooks for the incidents most likely to affect you, with your own contacts, systems and call order.