Documentation Index

Fetch the complete documentation index at: https://help.nucleussec.com/llms.txt

Use this file to discover all available pages before exploring further.

Applications

Prev Next

Overview

Using the Nucleus FlexConnect file schema, you can support both git repositories and web app urls using the Application type.

To use a web app url upload, specify that the scan_type is “Application” and enter the root web url. To specify a repository, fill out the app_branch, app_repo_url in addition to using the scan_type = “Application”

Application Asset Fields

Name

Description

Accepted Values or Format

host_name

Required. The name of this application asset.

NA

app_name_secondary

Optional. A list of secondary names that this application is associated with.

NA

app_branch

Special*. The application asset branch.

NA

app_repo_url

Optional. The application asset repo URL.

NA

app_language

Optional. The application languages.

List of languages

Fields Marked Special*

The app_branch field is required for Application assets to be treated as a code repo. When this field is used, Nucleus will match against other Application assets with the same host_name, app_name_secondary and app_branch. If the app_branch field is not provided, Nucleus will match against other Application assets with the same host_name and no app_branch.

Application Asset Field Examples

Example JSON

JSONMarkup

{
	"nucleus_import_version": "1",
	"scan_type": "Application",
	"scan_tool": "Asset",
	"assets": [
		{
            "host_name": "my_code_repo",
            "app_branch": "my_app_branch",
            "app_repo_url": "my_app_repo_url"
		}
	]
}

Example XML

JSONMarkup

<nucleusCustomScan>
    <nucleus_import_version>1</nucleus_import_version>
    <scan_tool>Asset</scan_tool>
    <scan_type>Application</scan_type>
    <assets>
        <asset>
            <host_name>my_code_repo</host_name>
            <app_branch>my_app_branch</app_branch>
            <app_repo_url>my_app_repo_url</app_repo_url>
        </asset>
    </assets>
</nucleusCustomScan>

Example CSV

nucleus_import_version,scan_tool,scan_type,host_name,app_branch,app_repo_url
1,Asset,Application,my_code_repo,my_code_branch,my_code_repo_url