Aws/securityhub Findings
Query and manage AWS Security Hub findings from a delegated administrator account. Leverages cross-region aggregation to cover the entire AWS Organization in a single API call.
Complements (does NOT duplicate) the upstream @swamp/aws/securityhub extension which manages Security Hub infrastructure (hubs, rules, policies, controls). This extension focuses on the findings operational lifecycle: query, triage, archive, resolve, and reopen.
Authentication
Uses the default AWS credential chain. Point at the delegated admin account (e.g. via AWS_PROFILE) to query findings across all member accounts.
Required IAM Permissions
securityhub:GetFindings(read)securityhub:BatchUpdateFindings(write — for archive/resolve/reopen)
Usage
# Create model (pointed at delegated admin account)
AWS_PROFILE="my-account/ReadOnlyPlus" \
swamp model create @webframp/aws/securityhub-findings sh-findings --global-arg region=us-east-1
# List all findings from last 24h
swamp model method run sh-findings list_findings --input startTime=24h
# List only HIGH severity GuardDuty findings
swamp model method run sh-findings list_findings --input productName=GuardDuty --input severityLabel=HIGH
# Get severity summary across org
swamp model method run sh-findings get_severity_summary --input startTime=7d
# Archive false positives
swamp model method run sh-findings archive_findings \
--input 'findingArns=["arn:aws:securityhub:..."]' \
--input 'note=Known EKS deployment pattern, suppressing'
# Resolve findings
swamp model method run sh-findings resolve_findings \
--input 'findingArns=["arn:aws:securityhub:..."]' \
--input 'note=Remediated by disabling public access'Methods
- list_findings - Query findings with filters for product, severity, account, time
- get_finding_details - Get full ASFF details for specific finding ARNs
- get_severity_summary - Aggregate findings by severity across all accounts
- archive_findings - Suppress findings (false positive / expected behavior)
- resolve_findings - Mark findings as resolved
- reopen_findings - Reopen previously archived/resolved findings
2026.07.30.1
Added: Optional profile global argument for multi-account credential resolution.
When set, credentials resolve via fromIni (supports SSO token cache and shared-config
profiles). When omitted, the default credential chain applies as before. Fully backward
compatible — no changes required for existing instances.
Resources
On-demand Security Hub findings triage workflow. Collects severity summary, critical/high findings, and diff since last run from a single Security Hub delegated admin model instance. Usage: AWS_PROFILE="my-account/ReadOnlyPlus" \ swamp workflow run securityhub-triage --input modelName=sh-findings # Custom time window: AWS_PROFILE="my-account/ReadOnlyPlus" \ swamp workflow run securityhub-triage --input modelName=sh-findings --input startTime=7d
Aggregates Security Hub triage workflow data into an actionable summary
2026.07.29.1
Fixed: Terminate upgrade chain at current version (extension was uninstallable due to broken upgrade chain).
2026.07.27.1
Changed: Bump @aws-sdk/* 3.1094.0 → 3.1096.0 (2 packages)
2026.07.24.1
Changed: Bump AWS SDK from 3.1091.0 to 3.1094.0 (patch-level update).
2026.07.24.1
Changed: Bump AWS SDK from 3.1091.0 to 3.1094.0 (patch-level update).
2026.07.21.1
Changed: Bumped AWS SDK dependencies to 3.1091.0 (from 3.1090.0).
Upgrade note: No behavioral changes. Routine dependency maintenance.
2026.07.18.2
Added: An upgrades array entry (no-op) to securityhub_findings.ts for proper typeVersion tracking on existing instances. No schema or behavior changes.
2026.07.18.1
Changed: Bumped @aws-sdk/client-organizations and
@aws-sdk/client-securityhub from 3.1069.0 to 3.1090.0 for dependency
freshness. No behavior change.
2026.07.10.1
Changed: Replaced internal org identifiers in the manifest usage examples with generic placeholders. No functional, API, or schema changes.
2026.07.18.1
Changed: Bumped @aws-sdk/client-organizations and
@aws-sdk/client-securityhub from 3.1069.0 to 3.1090.0 for dependency
freshness. No behavior change.
2026.07.10.1
Changed: Replaced internal org identifiers in the manifest usage examples with generic placeholders. No functional, API, or schema changes.
2026.07.10.1
Changed: Replaced internal org identifiers in the manifest usage examples with generic placeholders. No functional, API, or schema changes.
Added 1 workflows. Added 1 reports
Modified 1 models
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned