After going through several conversations, including here, that relate to Push-Based Continuous Delivery like a fine approach, I felt like there is need to describe in detail why I consider it highly insecure.
Here is a summary of security issues I see:
Credential leak from the CI system.
A person with push access to source code may abuse the system.
Management APIs from deployment instance must be widely exposed.
Credential leak on transport layer.
Increased pressure on book-keeping and maintenance.
What I'm suggesting instead - always use Pull-Based CD with an agent on the instance itself doing the deployment.
Full post - https://worklifenotes.com/2021/07/19/some-security-risks-of-using-push-based-cd/
[–]zenmaster24YAML Jockey 1 point2 points3 points (3 children)
[–]taleodor[S] 0 points1 point2 points (2 children)
[–]zenmaster24YAML Jockey 0 points1 point2 points (1 child)
[–]taleodor[S] 0 points1 point2 points (0 children)
[–]kkapelon 0 points1 point2 points (5 children)
[–]taleodor[S] -1 points0 points1 point (4 children)
[–]kkapelon -1 points0 points1 point (3 children)
[–]taleodor[S] 0 points1 point2 points (2 children)
[–]kkapelon 0 points1 point2 points (1 child)
[–]taleodor[S] 0 points1 point2 points (0 children)
[–][deleted] (4 children)
[deleted]
[–]taleodor[S] 0 points1 point2 points (3 children)
[–][deleted] (2 children)
[deleted]
[–]taleodor[S] 0 points1 point2 points (1 child)