Skip to content
Back to skills

Enterprise Controls

ASecurity

In an aidd repository, use when code touches SSO, SCIM, MFA, audit logs, admin consoles, or SOC 2 controls.

  • 2 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 6, 2026
ai-agentsrustgodockergitapidatabasesecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 17, 2026

npx -y skills add thaithienvanid/aidd --skill enterprise-controls --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Enterprise Controls?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Enterprise Controls
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thaithienvanid-enterprise-controls/badge)](https://www.skillsdirectory.com/skills/thaithienvanid-enterprise-controls)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: enterprise-controls
description: "In an aidd repository, use when code touches SSO, SCIM, MFA, audit logs, admin consoles, or SOC 2 controls."
---

<!-- generated by `aidd gen-docs` from schemas/packs.json; edit the registry, not this file -->

# Enterprise controls

## Scope

Applies when the change touches sign-in, SSO, SCIM, MFA, sessions, audit logs, or an admin console. Or any change once `project.compliance` names a target. Not when compliance is off and no sign-in, session, admin, or audit path changes. Neighbours: `aidd-team:secure-coding`, `aidd-team:threat-model`, `aidd-team:incident-response`.

## Standards

| # | Standard | Edition | Checked | Source |
| --- | --- | --- | --- | --- |
| S1 | SOC 2 Trust Services Criteria (CC6 logical access, CC7 system operations, CC8 change management, A1 availability, C1 confidentiality) | 2017, with the 2022 revised points of focus | 2026-11-10 | <https://www.aicpa-cima.com/resources/download/2017-trust-services-criteria-with-revised-points-of-focus-2022> |
| S2 | ISO/IEC 27001:2022 Annex A, the technological controls (8.x) and the incident controls (5.24 to 5.28) | ISO/IEC 27001:2022 with Amd 1:2024 | 2026-10-16 | <https://www.iso.org/standard/27001> |
| S3 | GDPR Art. 25 (data protection by design and by default), Art. 32 (security of processing), and Art. 33 and 34 (breach notification) | Regulation (EU) 2016/679 | 2026-11-10 | <https://eur-lex.europa.eu/eli/reg/2016/679/oj> |
| S4 | OWASP ASVS 5.0: Level 1 by default, Level 2 for authentication, session, and admin surfaces when compliance is on | 5.0.0 | 2026-11-10 | <https://github.com/OWASP/ASVS/releases/tag/v5.0.0_release> |
| S5 | NIST SSDF (SP 800-218) | SP 800-218 v1.1 | 2026-11-10 | <https://csrc.nist.gov/pubs/sp/800/218/final> |
| S6 | SBOM in CycloneDX (with ML-BOM) or SPDX, and VEX | 1.7.2 | 2026-10-16 | <https://github.com/CycloneDX/specification/releases/tag/1.7.2> |
| S7 | NIST SP 800-63-4 Digital Identity Guidelines | SP 800-63-4 | 2026-11-10 | <https://csrc.nist.gov/pubs/sp/800/63/4/final> |
| S8 | ISO/IEC 42001 and ISO/IEC 23894 | ISO/IEC 42001:2023; ISO/IEC 23894:2023 | 2026-10-16 | <https://webstore.iec.ch/en/publication/90574> |

### Open choices

The team decides these. aidd's default holds until a `standards` entry fills one (`aidd standard list`).

| Choice | Question | aidd's default | Options |
| --- | --- | --- | --- |
| `image-scanner` | Which scanner finds vulnerabilities in a shipped container image? | Trivy, pinned, failing the build on a high or critical vulnerability, with its vulnerability database pinned too. | Trivy, Grype, Clair, Docker Scout |

## Checklist by loop step

| Step | Item | Standard |
| --- | --- | --- |
| Before the first edit (`aidd risk --paths`) | Read `project.compliance`. With compliance on (any target), name the controls the change touches (EC-01 to EC-19 in `references/controls.md`) in the Spec's Context. With it off, only this domain skill's triggers load it. | S1, S2 |
| Specify | A change on a security or auth path links a threat model and an authorization matrix; with compliance on, `aidd validate` warns without them. Each control the change touches has an Acceptance item that proves it. | S4 |
| Specify | The Spec's compliance record names each control id in its Obligations table with the test or record that proves it, so an auditor finds the evidence by id. | S1, S2, S3 |
| Specify | With an AI feature and compliance on, its controls (ISO/IEC 42001 Annex A) map to evidence like the rest, and `aidd-domains:ai-features` holds the AI rules. | S8 |
| Implement | Deny by default: every new endpoint, object, and admin action checks authorization server side. Secrets come from a secret manager, and CI follows `aidd-team:ci-pipeline`. Nothing sensitive reaches a log. | S4, S5 |
| Implement | Every sign-in, permission change, admin action, and data export writes one audit event (who, what, when, which record, from where). The event goes to an append-only store the product itself cannot rewrite. | S1, S2 |
| Review | Walk each control the change touches in `references/controls.md`; a control the Spec named and the diff does not meet is a finding. | S1, S2 |
| Roll out | The security workflow (`aidd-security.yml`: dependency scan, SAST, SBOM, secret scan) is green on the head; the runbook names the breach clocks `aidd-team:incident-response` lists and who starts them. | S5, S6, S3 |

## Test commands

| Command | Proves | How | Standard |
| --- | --- | --- | --- |
| Dependency scan | no dependency in any lockfile has a known vulnerability | `go run github.com/google/osv-scanner/v2/cmd/osv-scanner@v2.7.0 scan source --recursive --allow-no-lockfiles .`, in `aidd-security.yml` and in `tests`, so `aidd test` records it on the head | S5 |
| License check | every dependency's licence is on the allow-list, so a licence off the list, or unknown, waits for a person | `go run github.com/google/osv-scanner/v2/cmd/osv-scanner@v2.7.0 scan source --licenses="MIT,Apache-2.0,BSD-2-Clause,BSD-3-Clause,ISC,0BSD" --recursive --allow-no-lockfiles .`, on your machine whenever a lockfile changes; the team widens the list for a licence a person accepted | S5 |
| Static analysis | no injection, unsafe deserialization, or hard-coded secret pattern in the code | `uvx semgrep==1.180.0 scan --config p/default --metrics off --error` | S5, S4 |
| Secret scan | no secret in the working tree or the history | `gitleaks git --redact .` and `gitleaks dir --redact .` (gitleaks v8.30.1), with the base branch's `.gitleaks.toml` on a pull request, in the `secrets` job of `aidd-security.yml` (GitHub) or the `aidd-secrets` job of `aidd-security.gitlab-ci.yml` (GitLab) | S5 |
| Container scan and SBOM | no high or critical vulnerability in a shipped image, and an SBOM for it | the image-scanner's `tests` entry, such as `trivy image --exit-code 1 --severity HIGH,CRITICAL <image>`, and `syft <image> -o cyclonedx-json` (Syft v1.52.0) | S6, S5 |
| Authorization matrix, one test per cell | each role gets exactly the allow and the deny the matrix states, including across tenants | a parameterized API test generated from the authz matrix rows, in the repository suite | S4, S1 |
| Audit event per admin action | each admin, permission, and export action writes one event with actor, action, target, and time, and the event cannot be updated or deleted | an integration test that performs each action and then tries to update and delete its event as the application's database role | S1, S2 |
| Session and lockout | sign-in throttles or locks after the configured failures, a session expires when idle, and the session id rotates at sign-in and on privilege change | API tests with a frozen clock | S4, S7 |

## Owned elsewhere

- Breach and incident notification clocks: `aidd-team:incident-response`.
- When a change runs the scans, and least privilege in code: `aidd-team:secure-coding`.

## References

- [references/controls.md](references/controls.md): the unified control set, EC-01 to EC-19. For each control: what the product must do, the test or evidence that proves it, and the SOC 2, ISO/IEC 27001:2022, and GDPR items it serves.
- [references/readiness.md](references/readiness.md): the enterprise-deal checklist (SSO, SCIM, MFA, audit log, admin console, residency, SLA, trust center, VPAT), and the readiness ladder from MVP to certification. Also access management (EC-16): joiner, mover, and leaver, access reviews, break-glass, and service accounts.

## Keep it current

Each entry is due after its `review_every_days` (else emerging 90 days, established 365) or by its `review_due`. An emerging one applies only when the change needs it, said in the Spec. One `aidd eval standards` lists as due is looked up in Specify, and a missing one is proposed to aidd's `schemas/industry-standards.json`.

Files in this skill

  • SKILL.md7.6 KB
  • references/controls.md5.8 KB
  • references/readiness.md5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.