Repository navigation
docs: added azure pipeline configuration and documentation - #200
Merged
Merged
Conversation
…R policy - A container job runs steps as a non-root user, so apt-get and a system-wide pip install in python:3.12-slim would fail. Use the ubuntu-latest hosted agent with UsePythonVersion@0 (git is preinstalled). - Keep secfoo run's exit code: the exports no longer overwrite it. - Write the reports straight into the published folder. - The pr: trigger only applies to GitHub and Bitbucket Cloud repos; Azure Repos Git needs a build-validation branch policy. - docs/CI.md: show the job, then setup, exit codes and artifacts, in the same shape as the Bitbucket and GitLab sections. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
|
Thanks, and welcome! There's no need for an Azure DevOps organization from us. I pushed one commit to your branch (69b64a0) and we'll handle the real-run check separately:
We'll merge once CI is approved and green. |
# Conflicts: # docs/CI.md
Leaderboard update
niharika3715 now has 3 points (rank #15). 22 more to reach Bronze. |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this change?
Closes #173
Adds Azure Pipelines support for Secfoo by introducing a ready-to-use CI configuration at
examples/ci/azure-pipelines.ymland documenting the setup indocs/CI.md.Why is this needed?
This allows teams using Azure DevOps to automatically run Secfoo security scans on pull requests and changes to the
mainbranch, helping identify security issues before they reach production.Key changes
--fail-on highand--max-cost 2.00to enforce severity and cost limits.OPENAI_API_KEYas a secret pipeline variable and explicitly map it into the job environment.Documentation
Updated
docs/CI.mdwith an Azure Pipelines section covering secret configuration, environment variable mapping, exit codes, and a link to the example YAML.Testing- Requesting the maintainer to provide access to an existing organization so I can run and validate the pipeline.