- 4 Minutes to read
- Print
- PDF
Axonius
- 4 Minutes to read
- Print
- PDF
About this document
This document provides the step-by-step procedure to configure Axonius in SAFE.
Introduction
This integration fetches and updates asset metadata in the SAFE. It retrieves details like FQDN, IP Address, and Asset Type, along with Custom Fields such as Tags and Connection Labels from Axonius. Additionally, it pulls Adapter Tags from Axonius. To sync Custom Fields, corresponding fields must be created in SAFE One. While some Custom Field keys follow standard naming, Adapter Tags require specific key creation.
Prerequisites
SAFE Admin Access
Add Custom Fields in SAFE
To set up custom fields in SAFE, create the standard fields axonius-connection-label, axonius-tags, and axonius-id with the Custom Field Type set to Any and Multi-Valued set to Yes." Additionally, create custom fields in SAFE that match the Tag Key combinations from Adapter Tags on the Axonius Devices Page. For example, if a tag key in Axonius is AX-LO, a corresponding custom field with the same name should be created in SAFE. Refer to Custom Fields.Axonius Base URL
Axonius API Key and Secret (available in the user’s account)
User Role Permissions in Axonius:
Full Access to API
View Access for Device Assets
Applicable SAFE ONE attack surface types for sync
If a customer needs to pull in the All attack surface, they must enter all names in this field.
Generate Connection Details (API Token and Secret)
Log in to Axonius using a user or service account.
Verify the role permissions as follows for the users account or service account you loggedin with:
Go to Settings (top-right corner).
Navigate to User and Role Management > Role.
Make sure the assigned role has:
Full API Access
“View Column Views” access for Device Assets
If the above permission are not available for the user/service account, ask your Axonious Admin to provide the same access.
Navigate to User Profile available at the bottom-left of the screen
Click the User Settings options.
Navigate to API Keys Tab.
[Optional] If needed, click Reset Key to generate new credentials.
Copy and Save the API Key and Secretv to be used while configuring Axonious in SAFE.
If needed, click Reset Key to generate new credentials.
Configure Axonious in SAFE
Log in to your SAFE account as an Admin
Navigate to the Integrations page and search for Axonius integration card.
Hover on it and click Configure.
Enter the following details:
Axonius Base URL : The same URL used to log into the Axonius portal.
Axonius API Key and Secret : Refer to /safe-4/docs/axonius#generate-connection-details-api-token-and-secret
Enter the Auto Sync frequency in days.
Enter the applicable SAFE ONE Attack Surface Types for Sync
Enter a comma-separated list specifying the attack surfaces to pull, such as Cloud, Others. If syncing all, enter all names.
Click Test Connection to verify the setup.
Once successful, click Save to store the configuration.
Click Sync Now to trigger an on-demand sync.
Upon a successful sync, the system pulls the Axonius assets and their findings in SAFE. You can track the status of the sync in the History table.
Note
It is crucial to note that only metadata is retrieved; therefore, the Findings View & Asset View will remain blank post-configuration. This is a normal part of the process and distinguishes this integration type, as typically there are findings and assets visible after sync with other integrations.
FAQs
Question: Which type of Assets can I sync from Axonius to SAFE ?
Answer: Currently we support only sync for Compute > Devices to SAFE.
Question: Can I see the that which asset is synced from Axonius?
If Custom Field is created for Axonius ID, the value for the field will be populated for the asset fetched from Axonius when sync completes. The field in SAFE maps to “Asset Unique ID” column in Axonious Portal.
How to confirm Axonius API access and permissions are correct?
If there are API access or permissions problems suspected then basic connectivity can be confirmed by executing the below cURL request from the internet (outside of any corporate network/VPN).
The values <Axonius Base URL> , <api-key> and <api-secret> should be replaced with the correct values for the target Axonius endpoint.
The expectation is that this request will successfully return a json document of attributes for one device. If connectivity or authorisation errors are returned then the API user configuration in Axonius likely needs to be reviewed. For further analysis of the returned data this can be forwarded to SAFE to review.
curl --location 'https://<Axonius Base URL>/api/devices' \
--header 'api-key: <api-key>' \
--header 'api-secret: <api-secret>' \
--header 'Content-Type: application/json' \
--data '{
"meta": null,
"data": {
"type": "entity_request_schema",
"attributes": {
"page": {
"offset": 0,
"limit": 1
},
"use_cache_entry": false,
"always_cached_query": false,
"fields": {
"devices": [
"specific_data.data.name_preferred",
"specific_data.data.hostname_fqdn_preferred",
"specific_data.data.network_interfaces.mac_preferred",
"specific_data.data.network_interfaces.ips_preferred",
"labels",
"specific_data.connection_label",
"specific_data.data.adapter_properties",
"specific_data.data.os.type_preferred",
"specific_data.data.os.combined_os_fields_preferred",
"specific_data.data.tags",
"specific_data.data.tags.tag_key",
"specific_data.data.tags.tag_source",
"specific_data.data.tags.tag_value",
"specific_data.data.physical_location_preferred",
"internal_axon_id"
]
},
"get_metadata": true,
"include_details": true
}
}
}'
View Results
You can navigate to Technology and filter the asset list by the same Attack Surface. Check for the matching Asset Name or FQDN which exists both in SAFE and Axonious, metadata should be updated when the sync is complete.
History
Learn more about Integration History here.
SAFE's Outgoing IP Addresses
Click here to find the outgoing IP addresses of SAFE. All traffic to any integrations in SAFE will see one IP address as the source IP of the incoming connection.