Skip to content

fix(security): enforce HTTPS-only S3 access [improve-startup] - #68

Open
jalawala wants to merge 1 commit into
aws-samples:improve-startupfrom
jalawala:fix/security-improve-startup
Open

fix(security): enforce HTTPS-only S3 access [improve-startup]#68
jalawala wants to merge 1 commit into
aws-samples:improve-startupfrom
jalawala:fix/security-improve-startup

Conversation

@jalawala

Copy link
Copy Markdown

Summary

  • Cherry-pick of S3 secure-transport fix (commit fc813bd from PR Enforce HTTPS-only access on CodePipeline S3 buckets #58) to clear ACAT finding acat-cfnlint.EA013
  • Adds HTTPS-only deny policy to CodePipelineArtifactBucket (previously had no policy)
  • Extends existing DenyInsecureConnections on CodePipelineArtifactStoreBucketPolicy to cover both bucket and object ARNs

Ticket

Resolves V2268145424 — "S3 bucket policy allows non-secure transport"

Test plan

  • cfn-lint passes (zero E-level errors, zero EA013 findings)
  • No behavioral change to workshop — additive Deny statements only

Resolves AppSec finding acat-cfnlint.EA013 (S3 bucket policy allows
non-secure transport) in static/inspector-codepipeline.yaml:

- CodePipelineArtifactStoreBucketPolicy: extend DenyInsecureConnections
  to cover the bucket-level ARN in addition to bucket/* (object) ARN, so
  bucket-level calls over HTTP are also denied.
- CodePipelineArtifactBucket: add a new bucket policy with an equivalent
  aws:SecureTransport=false deny; it previously had no policy at all.

Ticket: V2268145424
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant