Skip to main content

NowSecure Auto

NowSecure Auto is an application security tool that assesses the security of your mobile applications. You can bring application, assessment, and security data from NowSecure Auto into Brinqa to provide a clearer view of your mobile device security landscape, thus strengthening your cybersecurity posture.

This document details the information you must provide for the connector to authenticate with NowSecure Auto and how to obtain that information from NowSecure. See create a data integration for step-by-step instructions on setting up the integration.

Required connection settings

When setting up a data integration, select NowSecure Auto from the Connector drop-down. If you cannot find the connector in the drop-down, make sure that you have installed it first. You must provide the following information to authenticate NowSecure Auto with Brinqa:

  • API URL: The NowSecure Auto API URL. The default URL is https://lab-api.nowsecure.com.

  • Access Token: The access token associated with the NowSecure Auto account, which must have permissions to log in to the API server and return data.

Generate a NowSecure Auto access token

For the NowSecure Auto connector to use the NowSecure API, you must provide an access token. To do so, follow these steps:

  1. Log in to your organization's NowSecure portal as an administrator.

  2. Click the profile icon and select Tokens from the drop-down.

  3. Enter a name for the token and click Generate Token.

    The new access token displays. You cannot view this token again. Click Copy Token or copy the token manually and save it to a secure location.

note

If you do not have the permissions to create an access token, contact your NowSecure Auto administrator. For additional information, see NowSecure documentation.

Types of data to retrieve

The NowSecure Auto connector can retrieve the following types of data from the NowSecure API:

Table 1: Data retrieved from NowSecure Auto

Connector ObjectRequiredMaps to Data Model
ApplicationYesApplication
AssessmentYesAssessment
Dynamic Code FindingYesDynamic Code Finding
Dynamic Code Finding DefinitionYesDynamic Code Finding Definition
Static Code FindingYesStatic Code Finding
Static Code Finding DefinitionYesStatic Code Finding Definition
Vulnerability Audit RecordNoNot mapped
info

The NowSecure auto connector does not currently support operation options for the types of data it retrieves.

For detailed steps on how to view the data retrieved from NowSecure Auto in the Brinqa Platform, see How to view your data.

Attribute mappings

Click the tabs below to view the mappings between the source and the Brinqa data model attributes.

Table 2: Application attribute mappings

Source Field NameMaps to Attribute
CATEGORIEScategories
CONFIGLocal variable
LAST_COMPLETED_ASSESSMENTlastAssessed
LAST_SCANNEDlastScanned
PACKAGELocal variable
PLATFORMLocal variable
SCORELocal variable
STATUSstatus
SYS_IDuid
TITLEname
VERSIONcurrentVersion
info

Local variable indicates that the field is processed within a specific context, such as a particular workflow or calculation. Unlike other attributes, local variables aren't mapped to the unified data models (UDM). They only exist on the source data model.

Use CVSS calculator indicates that the CVSS (Common Vulnerability Scoring System) vectors and scores aren't directly mapped to a specific attribute on the UDM. Instead, a specialized library calculates the CVSS scores from the provided CVSS vector strings.

APIs

The NowSecure Auto connector uses both NowSecure Auto REST API endpoints and the NowSecure Auto GraphQL API, providing a flexible approach to retrieve your NowSecure Auto data.

NowSecure Auto REST API

The NowSecure Auto connector uses the NowSecure Auto REST API. Specifically, it uses the following endpoints:

Table 6: NowSecure Auto REST API Endpoints

Connector ObjectAPI Endpoint
Dynamic Code FindingGET https://lab-api.nowsecure.com/app/{platform}/{package}/assessment/{task}/results
Dynamic Code Finding DefinitionGET https://lab-api.nowsecure.com/app/{platform}/{package}/assessment/{task}/results
Static Code FindingGET https://lab-api.nowsecure.com/app/{platform}/{package}/assessment/{task}/results
Static Code Finding DefinitionGET https://lab-api.nowsecure.com/app/{platform}/{package}/assessment/{task}/results
Vulnerability Audit RecordGET https://lab-api.nowsecure.com/resource/app/:app_ref/vulnerability/

NowSecure Auto GraphQL API

The NowSecure connector also uses the NowSecure GraphQL API v1. Specifically, it uses the /graphql endpoint and the following queries:

Table 7: NowSecure Auto GraphQL API queries

Connector ObjectGraphQL Query
ApplicationApplication GraphQL query
AssessmentAssessment GraphQL query
Dynamic Code FindingFinding GraphQL query
Dynamic Code Finding DefinitionFinding Definition GraphQL query
Static Code FindingFinding GraphQL query
Static Code Finding DefinitionFinding Definition GraphQL query

Application GraphQL query

The following GraphQL query retrieves details about your applications in NowSecure Auto, such as reference, title, package key, platform type, analysis configuration, the latest complete assessment information, and more:

query {
auto {
applications {
ref
title
packageKey
platformType
analysisConfig {
searchTerms {
name
value
}
}
latestCompleteAssessment {
ref
createdAt
taskId
score
build {
ref
version
}
}
}
}
}

Assessment GraphQL query

The following GraphQL query retrieves details about your assessments in NowSecure Auto, such as reference, package key, application reference, app store application key, creation date, and more:

query {
auto {
assessments {
ref
packageKey
applicationRef
appstoreApplicationKey
createdAt
creatingUserRef
errorCode
platformType
config
build {
ref
title
}
taskId
}
}
}

Finding GraphQL query

The following GraphQL query retrieves details about your dynamic and static code findings in NowSecure Auto, such as reference, titles, names, values, package keys, and more:

query {
auto {
applications {
ref
title
packageKey
platformType
analysisConfig {
searchTerms {
name
value
}
}
latestCompleteAssessment {
ref
createdAt
taskId
score
build {
ref
version
}
}
}
}
}

Finding Definition GraphQL query

The following GraphQL query retrieves details about your dynamic and static code finding definitions in NowSecure Auto, such as applications, titles, package keys, names, and more:

query {
auto {
applications {
ref
title
packageKey
platformType
analysisConfig {
searchTerms {
name
value
}
}
latestCompleteAssessment {
ref
createdAt
taskId
score
build {
ref
version
}
}
}
}
}

Vulnerability Audit Record GraphQL query

The following GraphQL query retrieves details about your vulnerability audit records in NowSecure Auto, such as applications, titles, names, values, and more:

query {
auto {
applications {
ref
title
packageKey
platformType
analysisConfig {
searchTerms {
name
value
}
}
latestCompleteAssessment {
ref
createdAt
taskId
score
build {
ref
version
}
}
}
}
}

Changelog

The NowSecure connector has undergone the following changes:

3.0.2

  • Updated dependencies.

3.0.1