Giter VIP home page Giter VIP logo

Comments (7)

J12934 avatar J12934 commented on May 27, 2024 1

You can do this by using the api:

wget http://{engine-url}/box/securityTests/{id} --user {username} --password {password}

from securecodebox.

rseedorff avatar rseedorff commented on May 27, 2024 1

Hi @wheelq
you are right, the CLI can be improved in that way... I'll write a new feature request for that and close this issue afterwards.

from securecodebox.

rseedorff avatar rseedorff commented on May 27, 2024

Hi @wheelq
do you mean the UI of the secureCodeBox Engine (Tasklist) or the Kibana Dashboard? If you launch a security scan via CLI everything should behave the same like using the Rest API directly (or the engine UI).

As @J12934 already mention i think we have to fix some bugs in the CLI, because the latest API changes are maybe not reflected in the JSON templates.

from securecodebox.

wheelq avatar wheelq commented on May 27, 2024

Hi @rseedorff

do you mean the UI of the secureCodeBox Engine (Tasklist) or the Kibana Dashboard? If you launch a security scan via CLI everything should behave the same like using the Rest API directly (or the engine UI).
Both actually. None of the scans issued via CLI are visible for review/claim in the GUI
I also got another 2 questions, not sure whether should it be posted here or as a new issue:

  • How do I select format of the report when launched from the CLI. I only get JSON, how do I select XML, HTML, CSV, PDF?
  • How can I get the reports using CLI without issuing a scan? I'd like to integrate SCB in the pipeline, launched via bash scripts.

from securecodebox.

J12934 avatar J12934 commented on May 27, 2024

We don't have other report formats other than json.
If you need other formats i'd recommend using defect-dojo as a persistence provider, then you use the defect dojo report mechanisms to generate them.

The cli is atm only a utility to start scans. It doesn't support getting scan results without starting a scan first.

from securecodebox.

wheelq avatar wheelq commented on May 27, 2024

The cli is atm only a utility to start scans. It doesn't support getting scan results without starting a scan first.

That's logical, but I was more interested in getting the results from other scans, issued via GUI or a scan from 5 days ago

from securecodebox.

fuhrmeistery avatar fuhrmeistery commented on May 27, 2024

Closed due to inactivity

from securecodebox.

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.