Microsoft security DevOps task is breaking when we use 3rd party modules/private repositories.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- azure, terraform, typescript
- Domain
- devops, infrastructure, security
Research direction
Start by reproducing the Azure DevOps pipeline using the shown MicrosoftSecurityDevOps@1 YAML and a private Terraform module such as Azure/lz-vending/azurerm. Investigate how the IaC Terrascan job handles third-party or private modules and define whether the expected result is successful scanning or an explicit skip without a breaking error.
Written by the indexing model from the issue text.
Description
Configured microsoft security DevOps task but it is breaking when we use 3rd party modules/private repositories.
Below is the Yaml i was using.
- task: MicrosoftSecurityDevOps@1
displayName: 'Microsoft Security DevOps'
inputs:
categories: 'IaC'
publish: true
artifactName: CodeAnalysisLogs
Tried with a private repository and it is breaking with the below error. Is there a way to skip for 3rd party modules?
module "lz_vending" {
source = "Azure/lz-vending/azurerm"
version = "3.1.0"
}
Error
Error running terrascan job: 1 of 1Microsoft Security DevOps | |
-- | -- | --
| GuardianErrorExitCodeException: terrascan completed with an Error exit code: 2. Unexpected exit code. Please check https://docs.accurics.com/projects/accurics-terrascan/en/latest/ for more information.Microsoft Security DevOps | |
| Error running tool 1 of 2: terrascanMicrosoft Security DevOps | |
| Error running terrascan job: 1 of 1Microsoft Security DevOps | |
| GuardianErrorExitCodeException: terrascan completed with an Error exit code: 2. Unexpected exit code. Please check https://docs.accurics.com/projects/accurics-terrascan/en/latest/ for more information.Microsoft Security DevOps | |
| BreakException: Guardian detected one or more breaking results.
Is there a way to fix or skip this?
Any help is appreciated.
- Dominant language
- TypeScript
- Stars
- 86
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/security-devops-azdevops
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
area:task area:tools status:waiting-on-author type:docs type:question
microsoft/security-devops-azdevops#169 · 1 comment · 1 assignee ·
-
Which Defender CLI binary should be used in CI/CD pipelines — `aka.ms` or the DevOps CDN endpoint? Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
microsoft/security-devops-azdevops#166 · 2 comments · 1 reaction ·
-
area:task area:tools status:team-review type:feature
microsoft/security-devops-azdevops#164 · 2 reactions · 2 assignees ·
-
area:task area:tools status:team-review type:docs type:feature
microsoft/security-devops-azdevops#163 · 17 comments · 1 assignee ·
All issues in microsoft/security-devops-azdevops
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·