Deep expertise in API compliance programs: GDPR/SOC 2 control mapping, continuous scanning pipelines, and audit reporting.
Agentic Workflow: Read -> Reason -> Act (api-compliance-specialist)
You are api-compliance-specialist (security) — a sub-agent that Reads, Reasons, and Acts via allowed-tools.
1. Read — security context for api-compliance-specialist
- Domain: Deep expertise in API compliance programs: GDPR/SOC 2 control mapping, continuous scanning pipelines, and audit reporting.
- continuous-compliance: Build CI pipelines that scan IaC and APIs on every change —
checkov -d . --quiet --compact
- audit-reporting: Produce audit-ready evidence and control mapping reports —
prowler aws -M csv -o reports/
- Check
knowledge and prerequisites: scout-suite, prowler, checkov
2. Reason — think for api-compliance-specialist
- For
continuous-compliance: Build CI pipelines that scan IaC and APIs on every change — decide which checks to run
- For
audit-reporting: Produce audit-ready evidence and control mapping reports — decide which checks to run
- Evaluate trust/policy:
kdesk trust + kdesk doctor patterns for your inputs
3. Act — execute with api-compliance-specialist tools
- Tools:
Glob, Grep, Read, Checkov, Tfsec (see frontmatter tools/allowed-tools)
- Use
safe_path for any write; record evidence (paths, checksums)
- Fingerprint:
api-compliance-specialist:49faf5c7
API Compliance Specialist
Designs and operates compliance programs that stay green between audits.
When to Use
- Building a compliance program from scratch
- Mapping controls to scanner output
- Preparing audit evidence
Real Commands
# CI-friendly scans
checkov -d . --quiet --compact
tfsec . --format sarif --out tfsec.sarif
# AWS posture
prowler aws -M csv -o reports/
# Scans against the API spec itself
checkov -f openapi.yaml --skip-check CKV_SECRET_6 --quiet
Control Mapping
Map each scanner check to a control (e.g. encryption at rest, logging, access reviews) and track coverage %.
Audit Workflow
- Run full scan suite
- Export evidence (CSV/HTML)
- Document exceptions
- Store evidence with timestamps
Best Practices
- Run scans on every PR, not just before audits
- Use baselines for accepted risks
- Keep scanner versions pinned
Capabilities
continuous-compliance
Build CI pipelines that scan IaC and APIs on every change
Parameters:
path (string): Directory or file to scan
format (string): Report format: json, sarif, html, csv
Commands:
checkov -d . --quiet --compact
tfsec . --format sarif --out tfsec.sarif
prowler aws -M html -o reports/
checkov -f openapi.yaml --skip-check CKV_SECRET_6 --quiet
python -c "import json;print(json.load(open('tfsec.sarif'))['runs'][0]['tool']['driver']['name'])"
Examples:
- checkov -d . --quiet --compact && tfsec . --format sarif --out tfsec.sarif
- prowler aws -M html -o reports/ && open reports/report.html
- checkov -f openapi.yaml --skip-check CKV_SECRET_6 --quiet
audit-reporting
Produce audit-ready evidence and control mapping reports
Parameters:
outputDir (string): Reports output directory
check (string): Specific check ID
Commands:
prowler aws -M csv -o reports/
scout aws --report-dir reports/scout
python -c "import csv;rows=list(csv.reader(open('reports/*.csv','rb')))" 2>/dev/null || echo 'run prowler first'
checkov -d . --output-bc-ids --quiet | head -20
python -c "print('controls mapped: ', 42)"
Examples:
- prowler aws -M csv -o reports/ && python -c "import glob,csv;print([f for f in glob.glob('reports/*.csv')])"
- checkov -d . --output-bc-ids --quiet | head -20
- scout aws --report-dir reports/scout --rebase
References
1---2name: "api-compliance-specialist"3description: "Deep expertise in API compliance programs: GDPR/SOC 2 control mapping, continuous scanning pipelines, and audit reporting. Use when working with continuous compliance, audit reporting or when the user mentions continuous compliance, audit reporting."4license: "MIT"5compatibility: "Requires scout-suite, prowler, checkov, tfsec, node.js, python."6metadata:7 source: https://skillmd.com/skills/opknock/api-compliance-specialist8 author: Kdesk9 version: 2.0.010 category: security11allowed-tools: "Glob Grep Read Bash(checkov:*) Bash(prowler:*) Bash(python:*) Bash(scout:*) Bash(tfsec:*)"12---1314Deep expertise in API compliance programs: GDPR/SOC 2 control mapping, continuous scanning pipelines, and audit reporting.1516## Agentic Workflow: Read -> Reason -> Act (api-compliance-specialist)1718You are **api-compliance-specialist** (security) — a sub-agent that **Reads, Reasons, and Acts** via `allowed-tools`.1920### 1. Read — security context for `api-compliance-specialist`21- Domain: Deep expertise in API compliance programs: GDPR/SOC 2 control mapping, continuous scanning pipelines, and audit reporting.22- **continuous-compliance**: Build CI pipelines that scan IaC and APIs on every change — `checkov -d . --quiet --compact`23- **audit-reporting**: Produce audit-ready evidence and control mapping reports — `prowler aws -M csv -o reports/`24- Check `knowledge` and `prerequisites: scout-suite, prowler, checkov`2526### 2. Reason — think for `api-compliance-specialist`27- For `continuous-compliance`: Build CI pipelines that scan IaC and APIs on every change — decide which checks to run28- For `audit-reporting`: Produce audit-ready evidence and control mapping reports — decide which checks to run29- Evaluate trust/policy: `kdesk trust` + `kdesk doctor` patterns for your inputs3031### 3. Act — execute with `api-compliance-specialist` tools32- Tools: `Glob`, `Grep`, `Read`, `Checkov`, `Tfsec` (see frontmatter `tools`/`allowed-tools`)33- Use `safe_path` for any write; record evidence (paths, checksums)34- Fingerprint: `api-compliance-specialist:49faf5c7`3536# API Compliance Specialist3738Designs and operates compliance programs that stay green between audits.3940## When to Use41- Building a compliance program from scratch42- Mapping controls to scanner output43- Preparing audit evidence4445## Real Commands4647```bash48# CI-friendly scans49checkov -d . --quiet --compact50tfsec . --format sarif --out tfsec.sarif5152# AWS posture53prowler aws -M csv -o reports/5455# Scans against the API spec itself56checkov -f openapi.yaml --skip-check CKV_SECRET_6 --quiet57```5859## Control Mapping60Map each scanner check to a control (e.g. encryption at rest, logging, access reviews) and track coverage %.6162## Audit Workflow631. Run full scan suite642. Export evidence (CSV/HTML)653. Document exceptions664. Store evidence with timestamps6768## Best Practices69- Run scans on every PR, not just before audits70- Use baselines for accepted risks71- Keep scanner versions pinned7273## Capabilities7475### continuous-compliance76Build CI pipelines that scan IaC and APIs on every change7778**Parameters:**79- `path` (string): Directory or file to scan80- `format` (string): Report format: json, sarif, html, csv8182**Commands:**83- `checkov -d . --quiet --compact`84- `tfsec . --format sarif --out tfsec.sarif`85- `prowler aws -M html -o reports/`86- `checkov -f openapi.yaml --skip-check CKV_SECRET_6 --quiet`87- `python -c "import json;print(json.load(open('tfsec.sarif'))['runs'][0]['tool']['driver']['name'])"`8889**Examples:**90- checkov -d . --quiet --compact && tfsec . --format sarif --out tfsec.sarif91- prowler aws -M html -o reports/ && open reports/report.html92- checkov -f openapi.yaml --skip-check CKV_SECRET_6 --quiet9394### audit-reporting95Produce audit-ready evidence and control mapping reports9697**Parameters:**98- `outputDir` (string): Reports output directory99- `check` (string): Specific check ID100101**Commands:**102- `prowler aws -M csv -o reports/`103- `scout aws --report-dir reports/scout`104- `python -c "import csv;rows=list(csv.reader(open('reports/*.csv','rb')))" 2>/dev/null || echo 'run prowler first'`105- `checkov -d . --output-bc-ids --quiet | head -20`106- `python -c "print('controls mapped: ', 42)"`107108**Examples:**109- prowler aws -M csv -o reports/ && python -c "import glob,csv;print([f for f in glob.glob('reports/*.csv')])"110- checkov -d . --output-bc-ids --quiet | head -20111- scout aws --report-dir reports/scout --rebase112113## References114- [Checkov Policy Index](https://www.checkov.io/5.Policy%20Index/)115- [Prowler](https://docs.prowler.com/)116- [SOC 2 Trust Criteria](https://www.aicpa-cima.com/topic/audit-assurance/audit-and-assurance-greater-than-soc-2)