Fluid Attacks' PR/MR analyzer is a comprehensive security analysis solution that automatically detects vulnerabilities and code smells by analyzing code changes in PR/MR and provides immediate feedback to developers through automated discussions on GitLab and Azure DevOps platforms.
Overview
Fluid Attacks' provides a client through a docker image that integrates with CI/CD pipelines to trigger security analysis. This client automatically detects the CI/CD environment and submits analysis requests with the appropriate platform-specific parameters.
The client requiere the CI/CD pipeline where the image is being executed define the following environments variables.
FLUIDATTACKS_JWT
AZURE_TOKEN or GITLAB_TOKEN
Additionally the client will get automatically the following environments variable from the CI/CD pipeline
GitLab
- CI_MERGE_REQUEST_PROJECT_ID - Project ID
- CI_MERGE_REQUEST_IID - Merge request IID
Azure DevOps
- SYSTEM_TEAMFOUNDATIONCOLLECTIONURI - Organization URI
- SYSTEM_TEAMPROJECT - Project name
- BUILD_REPOSITORY_ID - Repository ID
- SYSTEM_PULLREQUEST_PULLREQUESTID - Pull request ID