Aqua Security (SaaS)
Aqua Security (SaaS) is a container security tool that provides workload protection and security for containers, Kubernetes, and serverless applications. You can bring container, host, and security data from Aqua into Brinqa to construct a unified view of your attack surface, thus strengthening your cybersecurity posture.
This document details the information you must provide for the connector to authenticate with Aqua SaaS and how to obtain that information from Aqua. See create a data integration for step-by-step instructions on setting up the integration.
The Aqua SaaS connector differs from the Aqua Server connector only in its authentication method. Instead of a username and password, the Aqua SaaS connector uses an API key and API secret. The underlying APIs, data retrieved, operation options, and data mappings remain the same as the Aqua Server connector.
Required connection settings
When setting up a data integration, select Aqua SaaS from the Connector drop-down. If you cannot find the connector in the drop-down, make sure you have installed it first. You must provide the following information to authenticate Aqua SaaS with Brinqa:
-
API URL: Your organization’s Aqua SaaS API URL. If the URL is unknown, you can retrieve it by contacting Aqua Support. The default URL format is
https://<server_name>.cloud.aquasec.com
. -
API key and API secret: The API credentials associated with the Aqua SaaS account, which must have permissions to log in to the API server and return data. For additional information, see Generate Aqua SaaS API credentials.
-
Login URL: The Aqua API Server URL, specific to the region of your Aqua SaaS environment. The default URL format is
https://<region>.api.cloudsploit.com
. Replace<region>
with the specific region of your Aqua API server. If your server is in the US, the URL would behttps://api.cloudsploit.com/
.The following table lists the Aqua SaaS login URL for each region. Please refer to Aqua Platform documentation for accuracy:
Table 1: Aqua login URLs
Region URL US https://api.cloudsploit.com/
EU https://eu-1.api.cloudsploit.com/
Singapore https://asia-1.api.cloudsploit.com/
Sydney https://ap-2.api.cloudsploit.com/
Generate Aqua SaaS API credentials
For the Aqua SaaS connector to retrieve data from the Aqua API, you must provide API credentials with the necessary permissions. To do so, follow these steps:
-
Log in to your organization's Aqua portal as an administrator.
-
Navigate to Account Management > Settings > API Keys.
-
Click Generate Key.
-
Provide a Description for the API key, and then click Create.
Your API key and API secret display. You cannot view the API secret again after this, so be sure to copy and save it to a secure location.
-
After generating the API key, click the kebab (three vertical dots) next to the new API key, and then click Edit.
-
Disable the Global Permissions toggle and enable the following Granular Permissions, as these are the minimum permissions required to retrieve data from the Aqua API:
-
roles:assign
-
tokens:readwrite
-
-
Click Save.
If you do not have permissions to generate API credentials, contact your Aqua administrator. For additional information, see Aqua Platform documentation on API credentials and API key permissions.
Additional settings
The Aqua SaaS connector contains additional options for specific configuration:
-
Page size: The maximum number of records to get per API request. The default setting is 100. It is not recommended to go over 100.
-
Parallel requests: The maximum number of parallel API requests. The default setting is 4.
-
Skip certificate verification: Select this option to allow for untrusted certificates.
Types of data to retrieve
The Aqua SaaS connector can retrieve the following types of data from the Aqua API:
Table 2: Data retrieved from Aqua SaaS
Connector Object | Required | Maps to Data Model |
---|---|---|
Container | Yes | Container |
Container Image | Yes | Container Image |
Host | Yes | Host |
Vulnerability | Yes | Vulnerability |
Vulnerability Definition | Yes | Vulnerability Definition |
For detailed steps on how to view the data retrieved from Aqua in the Brinqa Platform, see How to view your data.
Operation options
The Aqua SaaS connector supports the following operation options. See connector operation options for information about how to apply them.
Table 3: Aqua SaaS connector operation options
Connector Object | Option | All Possible values | Description | Example |
---|---|---|---|---|
Container | name | Any container name | Retrieves only containers with the specified name. | Key: name Value: kubernetes . This key and value combination only retrieves containers named kubernetes . |
registry | Any container registry | Retrieves only containers from the specified registry. | Key: registry Value: docker . This key and value combination only retrieves containers from the docker registry. | |
repository | Any container repository | Retrieves only containers from the specified repository. | Key: repository Value: angular-spring . This key and value combination only retrieves containers form the angular-spring repository. | |
Container Image | name | Any container image name | Retrieves only container images with the specified name. | Key: name Value: alpine/openssl:latest . This key and value combination only retrieves container images named alpine/openssl:latest . |
registry | Any container image registry | Retrieves only container images from the specified registry. | Key: registry Value: docker hub . This key and value combination only retrieves container images from the docker hub registry. | |
repository | Any container image repository | Retrieves only container images from the specified repository. | Key: repository Value: angular-spring . The key and value combination only retrieves container images from the angular-spring repository. | |
Host | name | Any host name | Retrieves only hosts with the specified name. | Key: name Value: webserver01 . This key and value combination only retrieves hosts names webserver01 . |
registry | Any host registry | Retrieves only hosts from the specified registry. | Key registry Value: docker . This key and value combination only retrieves hosts from the docker registry. | |
repository | Any host repository | Retrieves only hosts from the specified repository. | Key: repository Value: alpine/openssl . This key and value combination only retrieves hosts from the alpine/openssl repository. | |
Vulnerability | name | Any container image name | Retrieves only vulnerabilities from the specified container image name. | Key: name Value: docker.io . This key and value combination only retrieves vulnerabilities associated with docker.io container image. |
registry | Any container image registry | Retrieves only vulnerabilities from the specified container image registry. | Key: registry Value: harbor . This key and value combination only retrieves vulnerabilities from the harbor container image registry. | |
repository | Any container image repository. | Retrieves only vulnerabilities from the specified container image repository. | Key: repository Value: alpine . This key and value combination only retrieves vulnerabilities from the alpine container image repository. |
The option keys and values are case-sensitive as they are shown in this documentation.
APIs
The Aqua SaaS connector uses the Aqua Enterprise API v1 and v2. Specifically, it uses the following endpoints:
Table 4: Aqua SaaS API Endpoints
Connector Object | API Endpoints |
---|---|
Container | GET /api/v2/containers |
Container Image | GET /api/v2/images/names |
GET /api/v2/images/ | |
Host | GET /api/v1/hosts |
Vulnerability | GET /api/v2/images/names |
GET /api/v2//images/{registry}/{repo}/{tag}/vulnerabilities | |
Vulnerability Definition | GET /api/v2/images/names |
GET /api/v2//images/{registry}/{repo}/{tag}/vulnerabilities |
Changelog
The Aqua SaaS connector has undergone the following changes:
3.1.1
- Code clean up and general maintenance.
3.1.0
- Initial Integration+ release.