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

CI hardening project #132

Open
1 of 12 tasks
bensze01 opened this issue Oct 11, 2023 · 0 comments
Open
1 of 12 tasks

CI hardening project #132

bensze01 opened this issue Oct 11, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request priority-high size-l Estimated task size: large (2w+)

Comments

@bensze01
Copy link
Contributor

This issue tracks the changes we plan to implement to harden our CI against poison pipeline attacks and allow us to move to
a greater level of automatism without exposing our infrastructure to attacks from untrusted code.

  • Restrict automatic CI runs to PRs authored by team members or trusted third parties
  • Isolate Linux tests from the external environment
    • Move all test code that accesses the network into the mbedtls-test repository
    • Switch all Linux docker containers to network driver none
    • Restrict SYS_PTRACE capability to gdb tests
    • Enable automatic runs of the isolated subset of tests for untrusted contributions for PR pre-screening
  • Isolate FreeBSD tests from the external environment
    • Move all test code that accesses the network into the mbedtls-test repository
    • Replicate FreeBSD test environemnt using Podman/Buildah
    • Containerize FreeBSD tests
  • Isolate Windows tests from the external environment
    • Move all test code that accesses the network into the mbedtls-test repostiory
    • Replicate Windows test environment using Docker
    • Containerize Windows tests
@bensze01 bensze01 added enhancement New feature or request size-l Estimated task size: large (2w+) priority-high labels Oct 11, 2023
@bensze01 bensze01 self-assigned this Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority-high size-l Estimated task size: large (2w+)
Projects
None yet
Development

No branches or pull requests

1 participant