ASD Essentials IT.PRO-13.3 Regularly scan for unsecured keys, secrets and credentials and remediate them
What it says
Identify and remediate unsecured keys, secrets and credentials by regularly scanning codebases, configuration files, file shares and user collaboration platforms.
Quoted as published. Everything else on this page is written by Control Stack.
In plain English
Regularly scan codebases, configuration files, file shares and user collaboration platforms to identify unsecured keys, secrets and credentials, then remediate what you find.
Your organisation must identify and remediate unsecured keys, secrets and credentials, meaning ones left readable outside an approved repository (IT.PRO-13.2), even in a restricted share or private chat. It must do this by regularly scanning, on a schedule it sets, all four of these:
- Codebases.
- Configuration files.
- File shares.
- User collaboration platforms, such as chat, wikis and shared documents.
Remediate means making each item safe: rotate (replace) or revoke (cancel) it or, where neither is possible, limit what it unlocks. Either way, remove the exposed copy.
Free. Save your status, tasks and notes.
Where this action applies
What's in each domain?Visibility and response: a capability domain, which ASD applies across all phases from the start.
Why it matters
A password pasted into chat or a key committed to a code repository can stay readable for years, and anyone who reaches that location can use it. Scanning finds these copies, and rotating or revoking them means a copy found later no longer works.
How to implement
Map every location in the four scan areas.
List code repositories and pipelines, configuration stores, file shares and collaboration workspaces, taking each list from the platform. Use a secret scanning tool for code and configuration. For file shares and bought collaboration services, use a scanner that can connect to them, or the service's own content search where none can.
Set the scan schedule and remediation timeframes.
The action sets no period, so record how often each area is scanned, based on how fast it changes, and how quickly a finding must be fixed, based on what the credential unlocks. Code can usually be scanned on each commit.
Run the first scan over full history.
Deleting a file leaves the secret in earlier commits, and shared documents can keep older versions. Add detection rules for your own services' key formats. Where the code platform offers it, add a check that blocks new secrets when code is pushed.
Assess each finding, then make it safe.
Confirm whether it is live and check its use logs, following your incident procedures (IT.RES-03.1) if it was misused. Rotate or revoke it, then remove the exposed copy, and keep the replacement in an approved repository (IT.PRO-13.2). If the issuing platform offers neither, remove the copy, restrict the credential and record the risk.
Track every finding to closure.
Give each an owner and a due date from your timeframe, and record how it was fixed. Where the same team or pipeline keeps producing findings, fix the cause.
Keep it running
Add new repositories, shares and collaboration workspaces to scan scope as they appear, and add detection rules when you adopt a service with its own key format. Treat a repeat finding as a prompt to fix how the secret got there.
Evidence and audit
- Check 1 of 4What an auditor asks for
Ask for
The scanner's scope settings, compared with lists taken directly from the code platform, configuration stores, file servers and collaboration platforms.
Look at
Whether all four areas are covered, and any repository, configuration store, share or workspace missing from scope.
Good evidence
Codebases, configuration files, file shares and user collaboration platforms are all in scope, and nothing on those lists is left out without a recorded reason.
- Check 2 of 4What an auditor asks for
Ask for
A test using a harmless fake secret planted in one location in each of the four areas.
Look at
Whether the scanner reports each one, and how long that takes.
Good evidence
The scanner reports the fake secret in all four areas by the next scheduled scan.
- Check 3 of 4What an auditor asks for
Ask for
The scanner's run history, compared with the schedule the organisation set.
Look at
Dates of completed runs for each area, and any failed or skipped runs.
Good evidence
Each area was scanned to the set schedule, and no failed or skipped run is left unexplained.
- Check 4 of 4What an auditor asks for
Ask for
A sample of findings taken from the scanner's raw results rather than the remediation tracker.
Look at
Whether each reached the tracker, and whether the credential itself was rotated, revoked or, where the issuing platform offers neither, restricted, rather than only deleted from view.
Good evidence
Each sampled live finding is in the tracker and was remediated within the organisation's timeframe: the exposed copy is removed, and the issuing platform shows the old credential no longer valid or, where that platform offers no way to rotate or revoke it, the credential is restricted and its risk is recorded.
ASD indicators of good practice (9)
The indicators below are quoted as published from ASD's Assessment evidence guide for enterprise IT. These optional indicators help an assessor judge the action in each domain where it applies: if any not effective statement is true, the action is rated not effective; if every applicable fully effective statement is true and no other statement is, it is rated fully effective; otherwise it is rated partially effective. ASD says the indicators "do not replace expert judgement, nor are they intended to serve as a checklist".
Not effective(3)
- NE-1No secret scanning capability is deployed.
- NE-2No process exists to identify credentials exposed in codebases, configuration files, file shares or user collaboration platforms.
- NE-3Unsecured keys, secrets and credentials found exposed in codebases, configuration files, scripts, file shares or user collaboration platforms are left in place with no action taken.
Partially effective(3)
- PE-1Secret scanning is deployed but does not cover all repositories, pipelines or user collaboration platforms.
- PE-2Scanning runs but discovered credentials are not assessed in a timely manner.
- PE-3Unsecured keys, secrets and credentials that are discovered are assessed, but are not rotated or revoked in a timely manner.
Fully effective(3)
- FE-1Secret scanning tooling is deployed across codebases, configuration files, file shares and user collaboration platforms.
- FE-2Scans to identify unsecured keys, secrets and credentials run on a regular schedule defined by the organisation.
- FE-3Unsecured keys, secrets and credentials that are discovered are assessed, then rotated and/or revoked within timeframes defined by the organisation.
Mappings
Closest match in ASD Information Security Manual: ISM-2030, Commit-time scanning blocks secrets from source repositories, which this control covers in full and more.
ISO/IEC 27001: 2 mappings
This control partially meets A.5.17.
Annex A 5.17 covers the whole management process for authentication information, including allocation, handling and advice to personnel. IT.PRO-13.3 is one specific part of that process, requiring regular scanning of codebases, configuration files, file shares and user collaboration platforms to identify and remediate unsecured keys, secrets and credentials, which addresses how credentials are actually held rather than how they are issued.
This control supports A.8.12.
IT.PRO-13.3 requires regular scanning of codebases, configuration files, file shares and user collaboration platforms to identify and remediate unsecured keys, secrets and credentials. This supports Annex A 8.12 by locating a particularly sensitive class of information that is at risk of disclosure in the systems that store it and removing that exposure. Annex A 8.12 is broader, applying leakage prevention to all sensitive information across systems, networks and devices, while IT.PRO-13.3 targets secrets and credentials only.
ASD Information Security Manual: 3 mappings
This control is broader than ISM-2030.
IT.PRO-13.3 requires regular scans of codebases, configuration files, file shares and collaboration tools to find and fix unsecured keys, secrets and credentials; ISM-2030 applies this at commit time, blocking plain text or encoded credentials, keys and secrets from the authoritative source for software.
This control partially overlaps ISM-1402.
IT.PRO-13.3 requires regular scans of codebases, configuration files, file shares and collaboration tools to find and fix unsecured keys, secrets and credentials; ISM-1402 sets the protection stored credentials need: a password manager, a hardware security module, or salting, hashing and stretching.
This control partially overlaps ISM-1875.
IT.PRO-13.3 requires regular scans of codebases, configuration files, file shares and collaboration tools to find and fix unsecured keys, secrets and credentials; ISM-1875 requires at least monthly scans of systems for credentials stored in the clear, a specific case with a set frequency.
Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.




