I am using VSTS and a private build agent and I want to make sure that I am not opening my organization to attack. The build and deployment pipeline allow Powershell scripts to execute on premise. To protect against hackers I have done the following
- Limited the access of the service account that runs the VSTS Build agent
- Limited who can invoke a Build or deployment
- Avoided executing scripts as part of the build that are in git
We have linked our internal Active directory to VSTS, which means we have a single sign on from within our organization.
My question is what else can I do to secure my Build and release pipelines? Are there tools or scripts that can be used to monitor the build scripts and there use?