Git Product home page Git Product logo

Comments (3)

abhiv avatar abhiv commented on July 17, 2024

Thank you for the issue. Ah I see you're using the "scan" keyword. Sorry for the inconvenience, we made a backwards incompatible change a few versions ago. Below is the output of the cdefense command. We weren't aware that customers are using the "scan" keyword. Please change it to "sca" or "oss".

The "scan" keyword is being used to revamp the cdefense 2.0 to run both SCA and SAST in parallel, but it is still experimental as SAST uses docker and SCA does not. Can you please change your script from:
cdefense scan => cdefense oss and let me know what you experience.

NAME:
Cloud Defense CLI Scanner - CLI for scanning and detecting vulnerabilities in any language. Scan results sent to https://console.clouddefenseai.com

USAGE:
cdefense [global options] command [command options] [arguments...]

VERSION:
1.29.3

COMMANDS:
oss, sca, s SCA scan of a given project
code, sast, t SAST scan of a given project
scan, security SCA & SAST scan of a given project
website, dast, d DAST scan of a given URL endpoint
container, c Container scan of a given docker image
api, a, apiscan API scan of a given API URL endpoint
iast, i IAST scan of a given project
kubernetes, k Static code analysis of Kubernetes object definitions
serverless, l Serverless scan for provided function
terraform, t Static code analysis of Terraform
update, u Update cdefense
login, auth Authenticate the cdefense binary so you don't need to pass in API Keys.
credentials, cred, credential Display the credentials
help, h Shows a list of commands or help for one command

GLOBAL OPTIONS:
--help, -h show help (default: false)
--version, -v print the version (default: false)

from cd.

abhiv avatar abhiv commented on July 17, 2024

@mpaine-act Also can you confirm that you're on release version 1.29.3? We also have a new feature on that where you can run:

cdefense sast --api-key ..... --lang=dotnet --no-docker (--no-docker is only available for dotnet sast right now, it's significantly faster but still experimental).

from cd.

mpaine-act avatar mpaine-act commented on July 17, 2024

Thank you. I downloaded the 1.29.1 version and got the parameter from the COMMAND section of the executable.

I changed to oss and that fixed it for me. Thank you.

from cd.

Related Issues (2)

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.