Repository navigation
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:*onrole/app-*covers the role escalation
paths only (iam-018 reported 9 false user / group / policy paths); a Deny onrole/*
removes PassRole / AssumeRole. - S3 "public" follows the S3 user guide (s3-009, public exposure, bedrock-010):
aws:SourceIdentityno longer restricts (the caller sets it); anaws:SourceIprange
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_ACPis 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 aStringNotEquals/NullReferer); 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-tomust be a directory (one report per profile); an S3
save_tono longer stops a console-only run; each profile report has asummary.- Docker image: dependencies installed from
requirements-docker.txtwith
--require-hashes(refresh withscripts/update_docker_requirements.sh).
Fixes
- The console "Total issues found" counts findings after
exclude.arns. - The
.sha256sidecar 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,
orgfor 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/checkoutv7 and
docker/setup-buildx-actionv4 (SHAs checked); Python 3.14 in CI and classifiers. scripts/check_static.pyfails 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 allon every command, the missing global options, UTC timestamps,
MULTI_PROFILE_GUIDE file names, the Windows--save-toexample, kosty.yaml.example
exclusions; README links and images are absolute (they broke on PyPI); demo reports
carryaccounts_with_findingsanderrors; the unusedkosty_test_profiles.yamlis gone.