Cisco AMP for Endpoints API V1 - Previously Cisco AMP Cloud V1
Cisco Advanced Malware Protection (AMP) for Endpoints API V1 is a lightweight connector that can use the public cloud or be deployed as a private cloud, relying on AMQP Event Streams.
- What is Discovered and Monitored
- Event Types
- Rules
- Reports
- Configure Cisco AMP Cloud V1
- Configure FortiSIEM
- Sample Events
What is Discovered and Monitored
Protocol | Information collected | Used for |
---|---|---|
AMQP | Global threat intelligence, advanced sand boxing, and real-time malware blocking. | Intrusion protection system |
Event Types
In RESOURCES > Event Types, enter "Cisco AMP" in the Search field to see the event types associated with this device.
Rules
No defined rules.
Reports
No defined reports.
Configuration
- Configure Cisco AMP Cloud V1
- Define Cisco CloudAMP Credential in FortiSIEM
- Create IP Range to Credential Association, Test Connectivity, and Event Pulling Check
Configure Cisco AMP Cloud V1
- Log in to the Cisco AMP for Endpoints Portal as an administrator.
- Click Accounts > API Credentials.
- In the API Credentials pane, click New API Credential.
- In the Application name field, enter a name, and then select Read & Write.
Note: you must have Read & Write access to manage event streams on your Cisco AMP for Endpoints platform.
- Click Create.
- In the API Key Details section, make note of the values for the 3rd Party API Client ID and the API Key. You will need these values to manage queues.
- Click Management > Group.
- In the Groups pane, click Create Group.
- Enter the group name and click Save.
- Enter the following
curl
command to get thegroup_guid
of the group that is created in the previous step.curl -X GET -H 'accept: application/json' \
-H 'content-type: application/json' --compressed \
-H 'Accept-Encoding: gzip, deflate' \
-u <CLIENTID:APIKEY>\
'https://api.amp.cisco.com/v1/groups'
where:
<CLIENTID:APIKEY>
is the Client ID and the API key that you created in Step 6.- If you are in the Asia Pacific Japan and China (APJC) region, change
https://api.amp.cisco.com/v1/event_streams
tohttps://api.apjc.amp.cisco.com/v1/event_streams
. - If you are in the European region, change
https://api.amp.cisco.com/v1/event_streams
tohttps://api.eu.amp.cisco.com/v1/event_streams
.
-
Enter the following
curl
command to create a Cisco AMP event stream:curl -X POST -H 'accept: application/json' \
-H 'content-type: application/json' --compressed \
-H 'Accept-Encoding: gzip, deflate' \
-d '{"name":"<STREAM_NAME>"}' \
-u <CLIENTID:APIKEY> \
'https://api.amp.cisco.com/v1/event_streams'
where:
<STREAM_NAME>
is the name of your choice for the event stream.<CLIENTID:APIKEY>
is the Client ID and the API key that you created in Step 6.- If you are in the Asia Pacific Japan and China (APJC) region, change
https://api.amp.cisco.com/v1/event_streams
tohttps://api.apjc.amp.cisco.com/v1/event_streams
. - If you are in the European region, change
https://api.amp.cisco.com/v1/event_streams
tohttps://api.eu.amp.cisco.com/v1/event_streams
.
Note: Only the event stream name is required. In the absence ofevent_type
orgroup_guid
, the stream will collect events from all groups and all event types.
- Enter the following
curl
command to get a summary of the information you need to get a CloudAMP V1 credential in FortiSIEM:curl -X POST -H 'accept: application/json' \
-H 'content-type: application/json' --compressed \
-H 'Accept-Encoding: gzip, deflate' \
-d '{"name":"meistream","group_guid":["34e483f4-85a8-412f-9997-07dd3f0c29ea"]}' \
-u a54c0f4c589d72e0c73e:14713974-eb93-420b-ad76-6e13943f87d4 \
'https://api.amp.cisco.com/v1/event_streams'
{
"version": "v1.2.0",
"metadata": {
"links": {
"self": "https://api.amp.cisco.com/v1/event_streams"
}
},
"data": {
"id": 8849,
"name": "meistream",
"group_guids": [
"34e483f4-85a8-412f-9997-07dd3f0c29ea"
],
"amqp_credentials": {
"user_name": "8849-a54c0f4c589d72e0c73e",
"queue_name": "event_stream_8849",
"password": "e3298163b3c57e5e4e11ea1b571e85cc2ac45b55",
"host": "export-streaming.amp.cisco.com",
"port": "443",
"proto": "https"
}
}
}
Define Cisco CloudAMP Credential in FortiSIEM
Complete these steps in the FortiSIEM UI by first logging in to the FortiSIEM Supervisor node.
- Go to the ADMIN > Setup > Credentials tab.
- In Step 1: Enter Credentials, click New.
- Follow the instructions in “Setting Credentials“ in the User's Guide to create a new credential.
- Enter these settings in the Access Method Definition dialog box and click Save:
-
Settings Description Name Enter a name for the credential, for example, "AMQP". Device Type Cisco AMP Access Protocol AMQP Queue Name Use the queue-name
in Step 12 of the previous section.User Name Use the user_name
in Step 12 of the previous section.Password
Use the
password
in Step 12 of the previous section.Description Description of the device.
Create IP Range to Credential Association, Test Connectivity, and Event Pulling Check
From the FortiSIEM Supervisor node, take the following steps (In ADMIN > Setup > Credentials).
- In Step 2: Enter IP Range to Credential Associations, click New to create your mapping.
- Enter the host in Step 12 of previous section into the IP/Host Name field.
- Select the name of the credential created in Define Cisco CloudAMP Credential in FortiSIEM from the Credentials drop-down list.
- Click Save.
- Select the entry just created, click the Test drop-down list, and select Test Connectivity without Ping. A pop up will appear and show the Test Connectivity results.
- If connectivity is successful, go to ADMIN > Setup > Pull Events. An entry will appear in the Event Pulling table. That means events are being pulled.
Sample Events
Events are in JSON format.
[CiscoAMP-Update-Policy-Failure]{"id":6723137944535695384,"timestamp":1565352535,"timestamp_nanoseconds":82000000,"date":"2019-08-09T12:08:55+00:00","event_type":"Policy Update Failure","event_type_id":2164260866,"connector_guid":"98be064e-2ba5-4482-8405-4a9268ae9f2e","group_guids":["3c025f05-a2c4-4613-9186-343365f53853"],"error":{"error_code":3242196993,"description":"Unknown Error"},"computer":{"connector_guid":"98be064e-2ba5-4482-8405-4a9268ae9f2e","hostname":"host1","external_ip":"1.2.3.4","active":true,"network_addresses":[{"ip":"1.2.3.5","mac":"00:21:97:1e:1c:05"}],"links":{"computer":"https://api.amp.cisco.com/v1/computers/98be064e-2ba5-4482-8405-4a9268ae9f2e","trajectory":"https://api.amp.cisco.com/v1/computers/98be064e-2ba5-4482-8405-4a9268ae9f2e/trajectory","group":"https://api.amp.cisco.com/v1/groups/3c025f05-a2c4-4613-9186-343365f53853"}}}