API Documentation
Last updated
Was this helpful?
Last updated
Was this helpful?
Retrieves detailed information about a specific project, including branch scan statistics and values.
/project
Retrieve project-related branch scan statistics and values. Must provide a valid branch name.
main
Project name to retrieve the specific project details. Must provide a valid project name.
example_project
Retrieves a list of projects based on the provided parameters.
/projects
Page ID for pagination.
1
Page number for pagination.
1
Number of projects per page, with a maximum limit of 500.
50
Filter projects by name (alphanumeric, dash, underscore, and dot allowed).
example_project
Criteria to sort projects: by name, size (descending/ascending), or scan date (newest first).
name
name
, size_desc
, size_asc
, scan_date
Base64 encoded filter criteria for projects:
base64_encoded_string
Retrieve issues related to a specific scan using its ID with optional filters.
/scanlog/issues
Page ID for pagination (default: 50)
Page size for pagination
Uploaded file object
This endpoint is used to add a new organization to the application. It accepts the 'orgname' field in the body. If no organization with this name exists, a new organization is created immediately.
/organization/add
The name of the organization to be added
Retrieves a list of organizations accessible to the user. Use the 'search' parameter in the query string to filter organizations by name.
/organization/list
Filter organizations by name (alphanumeric, dash, underscore, and dot allowed).
example_org
Creates a new 'upload' type project that is ready for analysis when triggered at the scan/start endpoint.
/project/add
The name of the project used in generation. Must be unique within the organization.
A brief summary of the project's purpose.
Tags to categorize and group the projects being maintained.
Only upload type projects can be scanned. The related project should be created via the project/add
endpoint before sending this request with the related value.
/scan/start
Uploaded file object
Project under which the uploaded file will be analyzed
Branch under which the uploaded file will be analyzed
Scope under which the analysis should be processed
Create a git-connected project with given parameters.
/integration/git/set
Repository's default branch for standard analysis
Project's default policy for standard analysis
Unique project name within the organization
my-project
Tags to categorize and group project
Create a GitHub-connected project with given parameters.
/integration/github/set
GitHub repository id and name combined as string concatenated.
repo_name:1234id
Related repository owner's GitHub login
Default branch of the project for standard analysis.
main
Project's default policy for standard analysis
Repositories view information (public or private)
public
, private
Tags to categorize and group projects
Create a GitLab-connected project with given parameters.
/integration/gitlab/set
GitLab repository id and name combined as string concatenated.
repo_name:1234id
Default branch of the project for standard analysis.
main
Related repository owner's GitLab login
Project's default policy for standard analysis
Repositories view information (public or private)
public
, private
Tags to categorize and group projects
Create a Azure-connected project with given parameters.
/integration/azure/set
Depends on repository type, if it is Git type repository it wil formatted like, ${azureRepository.name}:${azureRepository.,d}:${azureRepository.project.id}
but if it is Tfvc project, it will formetted like: ${tfvcItem.name}:${azureRepository.id}
.
repo_name:1234id:projId | item_name:item_id
Default branch of the project for standard analysis.
main
Related repository owner's Azure account
Project's default policy for standard analysis
It will required only importing tfvc project.
Repositories source control type
TfsGit
, TfsVersionControl
, git
, tfs
Tags to categorize and group projects
Create a Bitbucket connected project with given parameters.
/integration/bitbucket/set
If the connection is coming from a Bitbucket server, this should be true. If cloud, it should be false.
Bitbucket repository name.
my-repo
Name for project generation in the application.
my-repo_my-repo
Used for connection URL generation.
PROJKEY
Depends on environment; if Bitbucket server, use bitbucketProject.name
. If cloud, use bitbucketWorkspace.account
my-project
Default policy ID for standard analysis.
7xoPVRFf6l86
Default branch of the project for standard analysis.
main
Account's workspace information. Required if in a cloud environment.
my-workspace
Repository view information.
public
public
, private
, Bitbucket Server Project
, Bitbucket Server User
Tags to categorize and group projects.
[tag1, tag2]
Trigger a scan for an existing Azure project with the provided parameters.
/integration/azure/start
The project to be analyzed.
Optional branch parameter for analyzing a different branch. Defaults to the project's default branch if not provided.
Optional policy_id parameter for analyzing the project with a different policy scope. Defaults to the project's default policy_id if not provided.
Trigger a scan for an existing Bitbucket project with the provided parameters.
/integration/bitbucket/start
The project to be analyzed.
Optional branch parameter for analyzing a different branch. Defaults to the project's default branch if not provided.
Optional policy_id parameter for analyzing the project with a different policy scope. Defaults to the project's default policy_id if not provided.
Trigger a scan for an existing Git project with the provided parameters.
/integration/git/start
The project to be analyzed.
Optional branch parameter for analyzing a different branch. Defaults to the project's default branch if not provided.
Optional policy_id parameter for analyzing the project with a different policy scope. Defaults to the project's default policy_id if not provided.
Trigger a scan for an existing Github project with the provided parameters.
/integration/github/start
The project to be analyzed.
Optional branch parameter for analyzing a different branch. Defaults to the project's default branch if not provided.
Optional policy_id parameter for analyzing the project with a different policy scope. Defaults to the project's default policy_id if not provided.
Trigger a scan for an existing Gitlab project with the provided parameters.
/integration/gitlab/start
The project to be analyzed.
Optional branch parameter for analyzing a different branch. Defaults to the project's default branch if not provided.
Optional policy_id parameter for analyzing the project with a different policy scope. Defaults to the project's default policy_id if not provided.