Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Configure SSL policy of the CDN (cdn.ssl_policy) #5932

Open
alquerci opened this issue Sep 5, 2024 · 2 comments
Open
Labels
type/enhancement Issues that are improvements for existing features. type/feature Issues that are new feature requests. type/request Issues that are created by customers.

Comments

@alquerci
Copy link

alquerci commented Sep 5, 2024

Hello there,

Big thanks for this tool.

version 1.34.0

Describe your feature

In order to configure SSL policy of the CDN.

I wish Copilot would avoid us to patch the environment template.

This will save us time in setting up.
And having SSL polices in one file.

Proposal

Like #1342 for ALB.

# copilot/environments/<name>/manifest.yml
cdn:
  ssl_policy: TLSv1.2_2019

Actual workaround

Now we need to have knowledge or search on documentation to do it. And the result will be this override:

# copilot/environments/overrides/cfn.patches.yml
- op: add
  path: /Resources/CloudFrontDistribution/Properties/DistributionConfig/ViewerCertificate/MinimumProtocolVersion
  value: TLSv1.2_2019
@alquerci alquerci added type/enhancement Issues that are improvements for existing features. type/feature Issues that are new feature requests. type/request Issues that are created by customers. labels Sep 5, 2024
@KollaAdithya
Copy link
Contributor

Hello @alquerci !

you can use overrides feature with the workaround mentioned above to configure your ssl policy

@alquerci
Copy link
Author

Hello @KollaAdithya,

That's exactly what I did and it work very well.

The point is not about, "now we cannot do it".
It is more about "now we need to have knowledge or search on documentation to do it".

For a security concern configuration, it could be more easy to configure. And have more guidance for developers to help us having secure application.

Moreover the current default policy is low in terms of security.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Issues that are improvements for existing features. type/feature Issues that are new feature requests. type/request Issues that are created by customers.
Projects
None yet
Development

No branches or pull requests

2 participants