Skip to content

Change CodeDeploy config file permissions to owner only#10206

Open
aahallal wants to merge 1 commit intoaws:developfrom
aahallal:fix-codedeploy-config-file-permissions-v1
Open

Change CodeDeploy config file permissions to owner only#10206
aahallal wants to merge 1 commit intoaws:developfrom
aahallal:fix-codedeploy-config-file-permissions-v1

Conversation

@aahallal
Copy link
Copy Markdown

@aahallal aahallal commented Apr 9, 2026

Changed the CodeDeploy on-premises instance configuration file creation to use os.open() with explicit permissions (0o600) instead of the default open() function. This ensures the configuration file is created with owner-only read/write permissions, improving security by preventing other users on the system from accessing potentially sensitive configuration data.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.43%. Comparing base (c4681b5) to head (81e598b).
⚠️ Report is 261 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #10206      +/-   ##
===========================================
+ Coverage    93.39%   93.43%   +0.04%     
===========================================
  Files          210      210              
  Lines        17052    17241     +189     
===========================================
+ Hits         15925    16109     +184     
- Misses        1127     1132       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aahallal aahallal force-pushed the fix-codedeploy-config-file-permissions-v1 branch from fbaca99 to 81e598b Compare April 9, 2026 18:15
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.

2 participants