Comments (5)
I've run into this same error on a recent build (which was previously working). It seems that the templateanalyzer
is the culprit. Works correctly when removing it from the input > tools.
Failure
- task: MicrosoftSecurityDevOps@1
displayName: 'Microsoft Security DevOps'
inputs:
tools: 'antimalware,templateanalyzer'
Success
- task: MicrosoftSecurityDevOps@1
displayName: 'Microsoft Security DevOps'
inputs:
tools: 'antimalware'
from security-devops-azdevops.
Experiencing the same issue with extension version 1.12.1 which was released last Thursday.
Current workaround is to run previous version(s) such as:
- task: [email protected]
from security-devops-azdevops.
Hello Babic Ahmedi,
I am having doubt here that where i need to mention the [email protected] in YML file.
Please suggest me any example for YML.
from security-devops-azdevops.
Same issue here. Task is MicrosoftSecurityDevops@1. Log file says:
2024-04-16T19:49:41.2852015Z ##[section]Starting: Run Microsoft Security DevOps
2024-04-16T19:49:41.3029258Z ==============================================================================
2024-04-16T19:49:41.3029634Z Task : Microsoft Security DevOps
2024-04-16T19:49:41.3029969Z Description : Run the Microsoft Security DevOps CLI for static analysis.
2024-04-16T19:49:41.3030246Z Version : 1.12.1
2024-04-16T19:49:41.3030483Z Author : Microsoft Corporation
2024-04-16T19:49:41.3031597Z Help : Runs [...]
followed in short order by:
2024-04-16T19:49:53.3391605Z ##[error]NullReferenceException: Object reference not set to an instance of an object.
2024-04-16T19:49:53.6160902Z ##[error]MSDO CLI exited with an error exit code: 1
2024-04-16T19:49:53.6250006Z ##[section]Finishing: Run Microsoft Security DevOps
It worked fine until today.
EDITED TO ADD: The bandaid proposed by @nesterenes works. Looking forward to a permanent fix.
from security-devops-azdevops.
This was an issue with a config template in Friday's release. It should be fixed with MSDO version 0.204.0 (released today). Please let us know if you are still experiencing this issue with 0.204.0 or later versions. Apologies for any inconvenience.
from security-devops-azdevops.
Related Issues (20)
- Secret scanning doesn't detect any issues HOT 8
- SARIF SAST Scans Tab not showing scan results HOT 1
- Trivy scan for Buildah images fails with message: Error: unknown flag: --exit-code HOT 1
- Really poor documentation....? HOT 1
- MicrosoftSecurityDevOps@1 failing to download packages from pkgs.dev.azure.com with 403 error HOT 2
- Tool randomly requires .net 8 now? HOT 5
- task CredScan@2 Microsoft.Security.CredScan broken HOT 1
- Trivy image scan on private ACR HOT 1
- trivy output does not match trivy@1 - Azure DevOps Pipeline HOT 1
- Can this extension be used on-prem Azure Devops Server HOT 1
- Is this project maintained? HOT 1
- Tasks show a warning on a stage in a pipeline HOT 2
- SARIF log parsing issue (v.1.9.1) HOT 3
- Task : Microsoft Security DevOps suddenly needs .net installation? HOT 2
- ADO Task unable to initialize on Azure Hosted Agent macos-13 HOT 4
- NullReferenceException: Object reference not set to an instance of an object. HOT 4
- Having issue suppressing credential scanner results with .gdnsuppress file HOT 6
- Task not working as expected HOT 4
- Trivy Image Scan not getting break when finding a MEDIUM or LOW vulnerability HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from security-devops-azdevops.