GithubHelp home page GithubHelp logo

Comments (5)

nesterenes avatar nesterenes commented on June 18, 2024 1

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.

babicahmed avatar babicahmed commented on June 18, 2024

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:

from security-devops-azdevops.

NagendraKumarrao avatar NagendraKumarrao commented on June 18, 2024

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.

rdepew avatar rdepew commented on June 18, 2024

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.

boAndron avatar boAndron commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.