Audit & compliance
An audit verifies, with evidence, that controls exist and work as claimed. Compliance demonstrates to third parties (regulators, clients, certifiers) that requirements are met. One does not imply the other: being compliant is not being secure, but a good audit brings the two closer.
What it is
Section titled “What it is”Auditing means contrasting reality against a criterion (a standard, a policy, a contract) by gathering objective evidence. Compliance is the state of meeting those requirements and being able to prove it. In GRC, the audit is the verification mechanism that closes the loop: without it, nobody knows whether the designed controls actually operate.
Why it matters
Section titled “Why it matters”- Without independent verification, a security program degrades silently.
- Certifications like ISO 27001 or attestations like SOC 2 are a prerequisite to sell, especially in B2B.
- A regulator investigating a breach will ask for evidence that controls existed and worked.
- The audit produces a corrective action plan that feeds continuous improvement.
Types of audit
Section titled “Types of audit”- Internal: the organization reviews its own controls to improve or prepare before a certification.
- External: an independent third party audits (ISO certification, SOC 2 attestation).
- Certification: leads to a seal (ISO 27001, ENS) with time validity and surveillance.
- Regulatory: an authority verifies legal compliance (AEPD, sectoral supervisors).
Evidence and controls
Section titled “Evidence and controls”The audit relies on evidence: policies, logs, configurations, tickets, and records. Two planes are distinguished:
- Control design: is it well defined and documented?
- Operating effectiveness: does it actually work day to day?
The auditor uses sampling: reviewing samples from a period (for example, “were access rights revoked for all last quarter’s leavers?”). Traceability connects each framework requirement to a control and to the evidence that demonstrates it.
The audit cycle
Section titled “The audit cycle”flowchart TD
A[1. Plan: scope and criteria] --> B[2. Gather evidence]
B --> C[3. Evaluate against requirements]
C --> D[4. Findings: nonconformities]
D --> E[5. Corrective action plan]
E --> F[6. Follow-up and verification]
F -.->|PDCA continuous improvement| A
Findings are classified into major nonconformities (a systemic failure that blocks certification), minor nonconformities (an isolated failure), and observations (improvement opportunities).
Certification and attestation frameworks
Section titled “Certification and attestation frameworks”- ISO 27001: ISMS certification. Stage 1 audit (documentation) and stage 2 (effectiveness), then annual surveillance and triennial recertification.
- SOC 2: attestation under the AICPA Trust Services Criteria. Type I assesses design at a point in time; Type II assesses effectiveness over a period (6-12 months).
- ENS: certification or conformity declaration for the Spanish public sector.
- PCI DSS v4.0: mandatory compliance if handling payment-card data; validated via SAQ or a QSA depending on volume.
Compliance is not security
Section titled “Compliance is not security”Passing a checklist does not guarantee being secure: it may be “paper security”. The classic risk is optimizing to pass the audit instead of reducing real risk. Effective security is also validated with pentest and red team (offensive) and with detection (blue team). The goal is for compliance to reflect controls that truly work.
In practice
Section titled “In practice”- Keep continuous, automated evidence: if each control leaves a trail (logs, tickets, version-controlled configs), the audit stops being a panic sprint.
- Work with a traceability matrix requirement → control → evidence from the start, not the night before.
- Manage nonconformities as an action plan with an owner and a date, not as a list that gets forgotten.
- Validate with pentest or detection exercises that what was audited is real, not just documented.
Common mistakes
Section titled “Common mistakes”- Preparing evidence only for the audit and letting controls relax the rest of the year.
- Auditing only the design (the policy exists) and not the effectiveness (the policy is followed).
- Treating nonconformities as a formality and not fixing the root cause.
- Confusing scope: certifying a minimal subset and presenting it as if it covered the whole company.
Checklist
Section titled “Checklist”- Define audit scope and criteria
- Traceability matrix requirement → control → evidence
- Assess design and operating effectiveness (not just design)
- Gather continuous evidence (logs, tickets, configurations)
- Manage findings (nonconformities) with a corrective action plan
- Verify that what was audited is real (pentest, detection)
- Follow-up and continuous improvement (PDCA, see Frameworks (ISO 27001, NIST, ENS, CIS))