GithubHelp home page GithubHelp logo

diniscruz / veracode-api Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 1.0 188 KB

Repo to hold veracode related issues and code snippets

License: Apache License 2.0

Shell 46.17% CoffeeScript 53.45% JavaScript 0.38%

veracode-api's People

Contributors

diniscruz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

veracode-api's Issues

It should be possible to configure the length logout timeout

At the moment it is quite aggressive which has some security benefits but makes it a really bad user experience.

That said, this forces me to have the password saved in the browser (since I don't want to type it dozens of times every working session)

Use searchable web interface (like GitHub Issues) to report issues on Veracode UI

At the moment it seems that the only solution is to use the [email protected] email which is not very effecient and does not caputure the questions and answers.

For example using GitHub Issues (like what I'm doing here) would allow the search of issues and for veracode users to learn from each other.

This would work for non company/scan specific issues (or for cases when the issue's target can be annonymized)

veracode-app-delete should return a yes/no value

or 1 (ok) or 0 (not ok)

At the moment the veracode API returns the current list of applications after the delete is successful, which is the same as calling veracode-app-list

If the app doesn't exist of we don't have access to that app, we get <?xml version="1.0" encoding="UTF-8"?> <error>Access denied.</error>

Related to #13

No easy way to open links on new tab (using for example Ctrl+Click)

At the moment most (if not all) links on the veracode UI are javascript:void(0); this means that there isn't an easy way to open multiple tabs from one of the pages.

A common (desired) workflow is to open the 'Sandbox page' and be able to open each of the projects in a separate tab.

At the moment the only workflow that I have is to open the Sandbox page in each tab, and click on the desired project (one at the time). This is hard with multiple projects since it is easy to miss a project

A work around for this would be to use a context menu (see #2) or to set the link with the actual value (instead of using javascript:void(0); )

Add logging function

This should put data in the same repo that will hold the scans results

Used to track:

  • scans done
  • scans status (this could be used on a script that checks for all scans for any pending actions, like download)
  • pre-scan errors

related to #13

Triage-Flaw view does not show Call Stack of issue

Unless I'm missing something obvious, when I go to the view:

image

I am not able to see the Call Stack details which are shown in the IntelliJ plugin

image

This really reduces the usability of that web interface, since key to understand the real impact of an issue is the path into that issue

Auto refresh or refresh button for Scan UI pages

given access to veracode engine via UI or API
when a scan is started
and the scan UI page is openned
then there should be an easy way to refresh the content of the UI

Namely the Activity Log

Add extra capabilities to Veracode Bash API

  • add alias veracode-apps #15
  • find ID for a particular project - done: veracode-app-id ,
  • Automatically create application when it is not there (to remove need to provide ID)
  • Delete an application - done: veracode-delete-app or veracode-app-delete #14
  • Add ability to scan a file (jar or war) - done: veracode-scan-file
  • Get scan status
  • List of app's builds - done: veracode-app-builds
  • Method to provide list of active scans #20
  • Check if there is a report for scan
  • Download report (pdf and xml)
  • Put downloaded report in repo, commit changes and push to repo
  • current scan status
  • test download report on Jenkins job (running at a regular interval)
  • Add ability to scan a folder
  • Add logging function #19
  • Detect missing dependencies (after analysis)

fix output of veracode-app-build-upload-file

We should get a nice table with the important values: build_id , file_id, file_name

This is what we currently get

<?xml version="1.0" encoding="UTF-8"?>

<filelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xmlns="https://analysiscenter.veracode.com/schema/2.0/filelist" 
  xsi:schemaLocation="https://analysiscenter.veracode.com/schema/2.0/filelist https://analysiscenter.veracode.com/resource/2.0/filelist.xsd" 
  filelist_version="1.1" account_id="xxx" app_id="xxx" build_id="xxx">
     <file file_id="5718780000" file_name="xxx-xxx.zip" file_status="Uploaded"/>
</filelist>

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.