Skip to main content

Aws Default Sg Audit

@jentz/aws-default-sg-auditv2026.06.13.0· 2d agoMODELS
01README

Fleet audit for AWS Security Hub control EC2.2 ("VPC default security groups should not allow inbound or outbound traffic"), with a remediation-safety verdict per default security group. A single read-only scan method fans out over profiles × regions in one execution, emitting one finding per VPC default security group (rule counts, referencing ENIs, and a verdict of compliant / safe_to_remediate / in_use_needs_migration).

Each (profile, region) that cannot be assessed — an expired SSO token, an SCP-denied region, a malformed response — becomes one scan_error row instead of aborting the sweep.

Read-only: only Describe* and sts:GetCallerIdentity are called. Pairs with the companion report @jentz/aws-default-sg-audit-report for an operator worklist (safe-to-strip vs needs-migration, plus coverage gaps).

02Models1
@jentz/aws-default-sg-auditv2026.06.13.0aws_default_sg_audit.ts

Global Arguments

ArgumentTypeDescription
profilesarrayNamed AWS profiles to sweep, one account each. Empty (default) uses the
regionsarrayRegions to scan per account. Empty (default) discovers each account's
requiredProfileSuffixstringIf set, every profile (and the ambient AWS_PROFILE) must end with this
fn scan()
Audit default security groups for EC2.2 across profiles × regions,

Resources

finding(infinite)— One VPC default security group audited for EC2.2, with rule counts,
scan_error(infinite)— A (profile, region) pair that could not be assessed — expired SSO
03Stats
A
100 / 100
Downloads
0
Archive size
487.1 KB
  • 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
04Platforms
05Labels