ast-sast-export

command module
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

README


Logo

SAST to AST Export

SAST to AST Export is a standalone Checkmarx tool.
Explore the docs »

Report Bug · Request Feature

SAST to AST Export

Exports SAST triaged results for importing in AST.

Description

Fetches SAST triaged results and exports as an encrypted package, which can then be imported in AST.

Getting Started

Prerequisites

Microsoft Windows x64.

SAST v9.3 or higher.

Installation
  • Download the latest version and extract the package contents
  • Create export user in SAST
    • Assign the following permissions:
      1. Sast > API > Use Odata
      2. Sast > Reports > Generate Scan Report
      3. Sast > Scan Results > View Results
      4. Access Control > General > Manage Authentication Providers
      5. Access Control > General > Manage Roles
  • Please refer to Wiki for more details
Execution

Run export with:

.\cxsast_exporter --user username --pass password --url http://localhost
  • Replace username and password with user credentials.
  • Replace http://localhost with the url to SAST, if necessary.

Additional Documentation

Refer to the project Wiki for additional information

Similarity Calculator

The exporter relies on a Windows binary for similarity calculation. This is internally built by Checkmarx and provided in the external folder for inclusion with the build.

Contributing

We appreciate feedback and contribution to this repo! Before you get started, please see the following:

License

Distributed under the Apache 2.0. See LICENSE for more information.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
aesctr
aesctr Credits: https://github.com/Xeoncross/go-aesctr-with-hmac
aesctr Credits: https://github.com/Xeoncross/go-aesctr-with-hmac
test
mocks/app/ast_query
Code generated by MockGen.
Code generated by MockGen.
mocks/app/ast_query_id
Code generated by MockGen.
Code generated by MockGen.
mocks/app/ast_query_mapping
Code generated by MockGen.
Code generated by MockGen.
mocks/app/export
Code generated by MockGen.
Code generated by MockGen.
mocks/app/installation
Code generated by MockGen.
Code generated by MockGen.
mocks/app/metadata
Code generated by MockGen.
Code generated by MockGen.
mocks/app/method_line
Code generated by MockGen.
Code generated by MockGen.
mocks/app/preset
Code generated by MockGen.
Code generated by MockGen.
mocks/app/queries
Code generated by MockGen.
Code generated by MockGen.
mocks/app/source_file
Code generated by MockGen.
Code generated by MockGen.
mocks/integration/rest
Code generated by MockGen.
Code generated by MockGen.
mocks/integration/similarity
Package mock_integration_similarity is a generated GoMock package.
Package mock_integration_similarity is a generated GoMock package.
mocks/integration/soap
Code generated by MockGen.
Code generated by MockGen.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL