Skip to content

v3.13.0

Latest

Choose a tag to compare

@yassirkachri yassirkachri released this 30 Nov 17:24
3c1947f

Minor release fixing the medium and low findings of a sixth audit. No check ID or option
change.

Upgrade notes (behaviour changes)

  • IAM broadness is per resource type. iam:* on role/app-* covers the role escalation
    paths only (iam-018 reported 9 false user / group / policy paths); a Deny on role/*
    removes PassRole / AssumeRole.
  • S3 "public" follows the S3 user guide (s3-009, public exposure, bedrock-010):
    aws:SourceIdentity no longer restricts (the caller sets it); an aws:SourceIp range
    broader than /8 (IPv4) or /32 (IPv6) outside RFC1918 is public;
    arn:aws:s3:*:*:my-bucket (the notification docs' form) restricts by its bucket name.
  • More findings: AllUsers / AuthenticatedUsers WRITE_ACP is public write (s3-005,
    public exposure); iam-009 sees grants on every resource written as an ARN wildcard
    (arn:aws:s3:::*/*, secret:*); bedrock-004 sees roles inside a NotAction boundary;
    public Aurora cluster snapshots (public exposure, 16 resource types).
  • Fewer findings: vpc-001 skips VPCs shared with the account through RAM; bedrock-004
    no longer flags a policy for its name ("DenyBedrockAll"); apigateway-010 accepts the
    deny-unless-Referer form (and no longer a StringNotEquals / Null Referer); lb-001
    skips load balancers created within the hour and targets still registering.
  • Costs: nat-002 keeps a gateway of unknown traffic over a known idle one; ebs-002 says
    the computed saving ("~$3.00/mo (8%)") instead of a fixed 20%; ec2-003 / ec2-013 know
    the smallest sizes of m7a / c7a / r7a / m8a / a1 (medium) and i4g / im4gn / i8g (large).
  • audit --profiles: --save-to must be a directory (one report per profile); an S3
    save_to no longer stops a console-only run; each profile report has a summary.
  • Docker image: dependencies installed from requirements-docker.txt with
    --require-hashes (refresh with scripts/update_docker_requirements.sh).

Fixes

  • The console "Total issues found" counts findings after exclude.arns.
  • The .sha256 sidecar is written as UTF-8 (non-ASCII profile names on cp1252 systems).
  • Configuration warnings are printed once under --profiles.
  • Report names use the scanned account for a clean scan, org for a per-service report
    of several accounts.

Tests, CI, packaging, docs

  • The Docker image is built and run on amd64 and arm64 before the push, from base
    images pinned by digest and hashed dependencies; actions/checkout v7 and
    docker/setup-buildx-action v4 (SHAs checked); Python 3.14 in CI and classifiers.
  • scripts/check_static.py fails on any syntax error (Python's own wording) and on a
    missing path.
  • New tests: bedrock-011 / bedrock-012 findings, the release workflows' guarantees
    (tests before publishing, tag vs version, manifest, IAM policy, coverage floor), the
    dashboard's per-service organization reports.
  • Docs: --output all on every command, the missing global options, UTC timestamps,
    MULTI_PROFILE_GUIDE file names, the Windows --save-to example, kosty.yaml.example
    exclusions; README links and images are absolute (they broke on PyPI); demo reports
    carry accounts_with_findings and errors; the unused kosty_test_profiles.yaml is gone.