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

Implement security restrictions for payload-apps #63

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

bigtallcampbell
Copy link
Contributor

@bigtallcampbell bigtallcampbell commented Jul 2, 2024

  • Add topic restrictions so only hostsvcs and platformsvcs can use their applicable direct-to-app topics
  • Add network policies to prevent payload-apps from access any resources on the network besides coresvc-switchboard
  • Container-to-Container access within the same pod is still permitted
  • Disabled payload-apps from being able to publish to platformsvc pods
  • Network policies are disabled when triggering a stage_spacefx.sh with the --dev-environment switch, or when global.security.payloadAppNetworkRestrictionsEnabled is not true

Results when payloadAppNetworkRestrictionsEnabled is set to 'false' and 'topicRestirctionsEnabled' is set to false:
image

Results when payloadAppNetworkRestrictionsEnabled is set to 'true' and 'topicRestirctionsEnabled' is set to true:
image

@bigtallcampbell bigtallcampbell requested a review from a team as a code owner July 2, 2024 22:43
@alexlianides alexlianides merged commit e29ce47 into main Jul 2, 2024
5 checks passed
@alexlianides alexlianides deleted the add-networkpolicy-for-payload-app branch July 2, 2024 23:05
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