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

Fixes securityhub finding to ensure that the ECS task definitions onl… #67

Closed
wants to merge 2 commits into from

Conversation

jforest
Copy link
Contributor

@jforest jforest commented Sep 5, 2023

…y have read-only access to root filesystem

Solves the same problem as in rstudio/r-builds#188

@jforest jforest requested a review from a team September 5, 2023 17:12
@@ -172,6 +172,7 @@ pythonBuildsBatchJobDefinitionUbuntu1804:
JobRoleArn:
"Fn::GetAtt": [ pythonBuildsEcsTaskIamRole, Arn ]
Image: "#{AWS::AccountId}.dkr.ecr.#{AWS::Region}.amazonaws.com/python-builds:ubuntu-1804"
ReadOnlyRootFilesystem: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

interesting. I guess this works because the ecs task mounts a volume and does work in that?

@jforest
Copy link
Contributor Author

jforest commented Sep 6, 2023

This will not work, abandoning

@jforest jforest closed this Sep 6, 2023
@jforest jforest deleted the readonly-root-fs branch September 6, 2023 14:55
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