AMP

Uses CISCO AMP Endpoint.

Endpoint · Cisco AMP

Details

IDAMP
ProviderCisco Systems
CategoryEndpoint
From Version5.0.0
Supported ModulesAgentix XSIAM

README

Uses CISCO AMP Endpoint
This integration was integrated and tested with API version v1 of AMP

Configure AMP on Cortex XSOAR


  1. Navigate to Settings > Integrations > Servers & Services.
  2. Search for AMP.
  3. Click Add instance to create and configure a new integration instance.
    • Name: a textual name for the integration instance.
    • Server URL (e.g. https://api.amp.cisco.com)
    • Client ID
    • Trust any certificate (not secure)
  4. Click Test to validate the URLs, token, and connection.

Commands


You can execute these commands from the Cortex XSOAR CLI, as part of an automation, or in a playbook.
After you successfully execute a command, a DBot message appears in the War Room with the command details.

  1. amp_get_computers
  2. amp_get_computer_by_connector
  3. amp_get_computer_trajctory
  4. amp_move_computer
  5. amp_get_computer_activity
  6. amp_get_events
  7. amp_get_event_types
  8. amp_get_application_blocking
  9. amp_get_file_list_by_guid
  10. amp_get_simple_custom_detections
  11. amp_get_file_list_files
  12. amp_get_file_list_files_by_sha
  13. amp_set_file_list_files_by_sha
  14. amp_delete_file_list_files_by_sha
  15. amp_get_groups
  16. amp_get_group
  17. amp_set_group_policy
  18. amp_get_policies
  19. amp_get_policy
  20. amp_get_version
  21. amp_delete_computers_isolation
  22. amp_put_computers_isolation
  23. amp_get_computers_isolation

1. amp_get_computers


Returns a list of computers on which agents are deployed. You can use filters (arguments) to narrow the search.

Base Command

amp_get_computers

Input
Argument Name Description Required
limit Maximum number of results to return. Optional
hostname Filter results by hostname. Optional
internal_ip Filter results by internal IP address. Optional
external_ip Filter results by external IP address. Optional
group_guid Filter results by group GUID. Optional
Context Output

There is no context output for this command.

Command Example
 !amp_get_computers limit=10 hostname='demisto.com'

2. amp_get_computer_by_connector


Returns information for the specified computer.

Base Command

amp_get_computer_by_connector

Input
Argument Name Description Required
connector_guid The connector GUID for which to return information. Required
Command Example
!amp_get_computer_by_connector connector_guid=12345abcde

3. amp_get_computer_trajctory


Returns a list of all activities associated with a particular computer. This is analogous to the Device Trajectory on the FireAMP Console. Use the Q argument to search for an IP address, SHA256 hash, or URL.

Base Command

amp_get_computer_trajctory

Input
Argument Name Description Required
q The IP address, SHA256 hash, or URL. Optional
limit Maximum number of results to return. Optional
connector_guid The connector GUID. Required
Command Example
!amp_get_computer_trajctory q='8.8.8.8' limit=10 connector_guid=12345abdce

4. amp_move_computer


Moves a computer to a group with the corresponding connector_guid and group_guid, respectively.

Base Command

amp_move_computer

Input
Argument Name Description Required
connector_guid The connector GUID. Required
group_guid The group GUID. Required
Command Example
!amp_move_computer connector_guid='abcde12345' group_guid='demisto123'

5. amp_get_computer_activity


This endpoint enables you to search all computers across your organization for any events or activities associated with a file or network operation, and returns computers that match the specified criteria. You can then query the /computers/{connector-guid}/trajectory endpoint for specific details.

Base Command

amp_get_computer_activity

Input
Argument Name Description Required
q An IPv4 address, SHA256 hash, filename, or URL fragment. Required
limit Maximum number of results to return. Optional
offset offset Optional
Context Output

There is no context output for this command.

Command Example
!amp_get_computer_activity q='8.8.8.8'

6. amp_get_events


A general query interface for events. This is analogous to the Events view on the FireAMP Console.

Base Command

amp_get_events

Input
Argument Name Description Required
limit Maximum number of results to return. Optional
connector_guid The connector GUID. Optional
group_guid The group GUID. Optional
detection_sha256 The detected SHA256 hash. Optional
application_sha256 The application SHA256. Optional
event_type The event type. Optional
offset The offset. Optional
start_date The start date for the query, in ISO8601 format. Optional
Context Output

There is no context output for this command.

Command Example
!amp_get_events connector_guid='abcde12345'

7. amp_get_event_types


Events are identified and filtered by a unique ID. This endpoint provides a human readable name and short description of each event (by ID).

Base Command

amp_get_event_types

Input

There is no input for this command.

Context Output

There is no context output for this command.

Command Example
!amp_get_event_types

8. amp_get_application_blocking


Returns a list of application blocking file lists. You can filter this list by name

Base Command

amp_get_application_blocking

Input
Argument Name Description Required
limit Maximum number of results to return. Optional
offset The offset. Optional
name Name of the file. Optional
Context Output

There is no context output for this command.

Command Example
!amp_get_application_blocking name='abcde12345'

9. amp_get_file_list_by_guid


Returns a particular file list for application blocking or simple custom detection. You need to specify the file_list_guid argument to retrieve information about a particular file_list.

Base Command

amp_get_file_list_by_guid

Input
Argument Name Description Required
file_list_guid Retrieves information about a particular file_list. Required
Context Output

There is no context output for this command.

Command Example
!amp_get_file_list_by_guid file_list_guid='abcde12345'

10. amp_get_simple_custom_detections


Returns a list of simple custom detection file lists. You can filter this list by detection name.

Base Command

amp_get_simple_custom_detections

Input
Argument Name Description Required
limit Maximum number of results to return. Optional
offset The offset. Optional
name Name of the detection. Optional
Context Output

There is no context output for this command.

Command Example
!amp_get_simple_custom_detections name='sample detections'

11. amp_get_file_list_files


Returns a list of items for a particular file_list. You need to specify the file_list_guid argument to retrieve these items.

Base Command

amp_get_file_list_files

Input
Argument Name Description Required
limit Maximum number of results to return. Optional
offset The offset. Optional
file_list_guid Retrieves information about a particular file_list. Required
Context Output

There is no context output for this command.

Command Example
!amp_get_file_list_files file_list_guid='abcde12345'

12. amp_get_file_list_files_by_sha


Returns a particular item for a given file_list. You need to specify the sha256 argument and the file_list_guid argument to retrieve an item.

Base Command

amp_get_file_list_files_by_sha

Input
Argument Name Description Required
file_list_guid Retrieves information about a particular file_list. Required
sha256 SHA256 hash. Required
Context Output

There is no context output for this command.

Command Example
!amp_get_file_list_files_by_sha file_list_guid='abcde12345' sha256='samplesha256'

13. amp_set_file_list_files_by_sha


Adds a SHA256 hash to a file list, using file_list_guid.

Base Command

amp_set_file_list_files_by_sha

Input
Argument Name Description Required
file_list_guid Retrieves information about a particular file_list. Required
sha256 SHA256 hash. Required
description Description of the SHA256 hash. Optional
Context Output

There is no context output for this command.

Command Example
!amp_set_file_list_files_by_sha file_list_guid='abcde12345' sha256='samplesha256' description='This is a sample SHA'

14. amp_delete_file_list_files_by_sha


Deletes an item from a file_list using the SHA256 hash and file_list_guid.

Base Command

amp_delete_file_list_files_by_sha

Input
Argument Name Description Required
file_list_guid The file_list_guid to retrieve information about a particular file_list Required
sha256 SHA256 hash. Required
Context Output

There is no context output for this command.

Command Example
!amp_delete_file_list_files_by_sha file_list_guid='abcde12345' sha256='samplesha256'

15. amp_get_groups


Returns basic information about groups in your organization. You can map group names to GUIDs for filtering on the events endpoint.

Base Command

amp_get_groups

Input
Argument Name Description Required
limit amount of results Optional
name name of the group Optional
Context Output

There is no context output for this command.

Command Example
!amp_get_groups limit=25

16. amp_get_group


Returns a particular group

Base Command

amp_get_group

Input
Argument Name Description Required
group_guid The particular group guid Required
Context Output

There is no context output for this command.

Command Example
!amp_get_group group_guid='abcde12345'

17. amp_set_group_policy


Sets a security policy to a group of endpoints.

Base Command

amp_set_group_policy

Input
Argument Name Description Required
group_guid The group GUID. Required
linux_policy_guid The Linux policy guide. Optional
android_policy_guid The Android policy guide. Optional
mac_policy_guid The Mac policy guide. Optional
windows_policy_guid The Windows policy guide. Optional
Context Output

There is no context output for this command.

Command Example
!amp_set_group_policy group_guid='abcde12345'

18. amp_get_policies


Returns a list of policies. You can filter this list by name and product.

Base Command

amp_get_policies

Input
Argument Name Description Required
limit Maximum number of results to return. Optional
offset The offset. Optional
name The policy name. Optional
product The policy product. Optional
Context Output

There is no context output for this command.

Command Example
!amp_get_policies name='TestPolicy'

19. amp_get_policy


Retrieves information about a particular policy, based on policy_guid.

Base Command

amp_get_policy

Input
Argument Name Description Required
policy_guid The policy GUID. Required
Context Output

There is no context output for this command.

Command Example
!amp_get_policy policy_guid='abcde12345'

20. amp_get_version


Fetches a list of versions.

Base Command

amp_get_version

Input

There is no input for this command.

Context Output

There is no context output for this command.

Command Example
!amp_get_version

21. amp_delete_computers_isolation


Request to unlock an isolated computer. Can also be used as a course-grained isolation status request.

Base Command

amp_delete_computers_isolation

Input
Argument Name Description Required
connector_guid connector GUID. Required
unlock_code Comment about unlocking the computer. Use the amp_get_computers_isolation command to retrieve the unlock_code. Optional
Context Output

There is no context output for this command.

Command Example
!amp_delete_computers_isolation connector_guid=12345abcde

22. amp_put_computers_isolation


Requests isolation for a Computer. If a computer is already isolated a 409 conflict error status is returned.

Base Command

amp_put_computers_isolation

Input
Argument Name Description Required
connector_guid connector GUID. Required
unlock_code Comment used when locking the computer. Use the amp_get_computers_isolation command to retrieve the unlock_code. Optional
Context Output

There is no context output for this command.

Command Example
!amp_put_computers_isolation connector_guid=12345abcde

23. amp_get_computers_isolation


Returns a fine grained isolation status for a computer.

Base Command

amp_get_computers_isolation

Input
Argument Name Description Required
connector_guid connector GUID. Required
status The status of the computer. Can be: “not_isolated”, “pending_start”, “isolated”, or “pending_stop”. Optional
Context Output

There is no context output for this command.

Command Example
!amp_get_computers_isolation connector_guid=12345abcde

Configuration parameters

  • server — Server URL (e.g. https://api.amp.cisco.com) (required)
  • credentials — Client ID (required)
  • insecure — Trust any certificate (not secure)

Commands (25)

  • amp_delete_computers_isolation

    Performs a feature availability request on a computer. Can also be used as a course-grained isolation status request.

  • amp_delete_file_list_files_by_sha

    Deletes an item from a file_list using the SHA256 hash and file_list_guid.

  • amp_get_application_blocking

    Returns a list of application blocking file lists. You can filter this list by name

  • amp_get_computer_activity

    This endpoint enables you to search all computers across your organization for any events or activities associated with a file or network operation, and returns computers that match the specified criteria. You can then query the /computers/{connector-guid}/trajectory endpoint for specific details.

  • amp_get_computer_actvity Deprecated

    This endpoint enables you to search all computers across your organization for any events or activities associated with a file or network operation, and returns computers that match the specified criteria. You can then query the /computers/{connector-guid}/trajectory endpoint for specific details.

  • amp_get_computer_by_connector

    Returns information for the specified computer.

  • amp_get_computer_trajctory Deprecated

    Returns a list of all activities associated with a particular computer. This is analogous to the Device Trajectory on the FireAMP Console. Use the Q argument to search for an IP address, SHA256 hash, or URL.

  • amp_get_computer_trajectory

    Returns a list of all activities associated with a particular computer. This is analogous to the Device Trajectory on the FireAMP Console. Use the Q argument to search for an IP address, SHA256 hash, or URL.

  • amp_get_computers

    Returns a list of computers on which agents are deployed. You can use filters (arguments) to narrow the search.

  • amp_get_computers_isolation

    Returns a fine grained isolation status for a computer. The available flag is set to true if isolation can be performed on the computer. status will be set to one of: not_isolated pending_start isolated pending_stop

  • amp_get_event_types

    Events are identified and filtered by a unique ID. This endpoint provides a human readable name and short description of each event (by ID).

  • amp_get_events

    A general query interface for events. This is analogous to the Events view on the FireAMP Console.

  • amp_get_file_list_by_guid

    Returns a particular file list for application blocking or simple custom detection. You need to specify the file_list_guid argument to retrieve information about a particular file_list.

  • amp_get_file_list_files

    Returns a list of items for a particular file_list. You need to specify the file_list_guid argument to retrieve these items.

  • amp_get_file_list_files_by_sha

    Returns a particular item for a given file_list. You need to specify the sha256 argument and the file_list_guid argument to retrieve an item.

  • amp_get_group

    Returns a particular group

  • amp_get_groups

    Returns basic information about groups in your organization. You can map group names to GUIDs for filtering on the events endpoint.

  • amp_get_policies

    Returns a list of policies. You can filter this list by name and product.

  • amp_get_policy

    Retrieves information about a particular policy, based on policy_guid.

  • amp_get_simple_custom_detections

    Returns a list of simple custom detection file lists. You can filter this list by detection name.

  • amp_get_version

    Fetches a list of versions.

  • amp_move_computer

    Moves a computer to a group with the corresponding connector_guid and group_guid, respectively.

  • amp_put_computers_isolation

    Request Isolation for a Computer. If a computer is already isolated a 409 Conflict error status will be sent. Returns the same result of a GET request on the /isolation endpoint.

  • amp_set_file_list_files_by_sha

    Adds a SHA256 hash to a file list, using file_list_guid.

  • amp_set_group_policy

    Sets a security policy to a group of endpoints.

commonfields:
  id: AMP
  version: -1
name: AMP
display: AMP
category: Endpoint
provider: Cisco Systems
description: Uses CISCO AMP Endpoint.
configuration:
- display: Server URL (e.g. https://api.amp.cisco.com)
  name: server
  defaultvalue: https://api.amp.cisco.com
  type: 0
  required: true
- display: Client ID
  name: credentials
  type: 9
  required: true
- display: Trust any certificate (not secure)
  name: insecure
  type: 8
  required: false
script:
  script: ''
  type: javascript
  commands:
  - name: amp_get_computers
    arguments:
    - name: limit
      description: Maximum number of results to return.
    - name: hostname
      description: Filter results by hostname.
    - name: internal_ip
      description: Filter results by internal IP address.
    - name: external_ip
      description: Filter results by external IP address.
    - name: group_guid
      description: Filter results by group GUID.
    description: Returns a list of computers on which agents are deployed. You can use filters (arguments) to narrow the search.
  - name: amp_get_computer_by_connector
    arguments:
    - name: connector_guid
      required: true
      default: true
      description: The connector GUID for which to return information.
    description: Returns information for the specified computer.
  - name: amp_get_computer_trajectory
    arguments:
    - name: q
      description: The IP address, SHA256 hash, or URL.
    - name: limit
      description: Maximum number of results to return.
    - name: connector_guid
      required: true
      default: true
      description: The connector GUID.
    description: Returns a list of all activities associated with a particular computer. This is analogous to the Device Trajectory on the FireAMP Console. Use the Q argument to search for an IP address, SHA256 hash, or URL.
  - name: amp_get_computer_trajctory
    deprecated: true
    arguments:
    - name: q
      description: The IP address, SHA256 hash, or URL.
    - name: limit
      description: Maximum number of results to return.
    - name: connector_guid
      required: true
      default: true
      description: The connector GUID.
    description: Returns a list of all activities associated with a particular computer. This is analogous to the Device Trajectory on the FireAMP Console. Use the Q argument to search for an IP address, SHA256 hash, or URL.
  - name: amp_move_computer
    arguments:
    - name: connector_guid
      required: true
      default: true
      description: The connector GUID.
    - name: group_guid
      required: true
      description: The group GUID.
    description: Moves a computer to a group with the corresponding connector_guid and group_guid, respectively.
  - name: amp_get_computer_activity
    arguments:
    - name: q
      required: true
      default: true
      description: An IPv4 address, SHA256 hash, filename, or URL fragment.
    - name: limit
      description: Maximum number of results to return.
    - name: offset
      description: offset.
    description: This endpoint enables you to search all computers across your organization for any events or activities associated with a file or network operation, and returns computers that match the specified criteria. You can then query the /computers/{connector-guid}/trajectory endpoint for specific details.
  - name: amp_get_computer_actvity
    deprecated: true
    arguments:
    - name: q
      required: true
      default: true
      description: An IPv4 address, SHA256 hash, filename, or URL fragment.
    - name: limit
      description: Maximum number of results to return.
    - name: offset
      description: offset.
    description: This endpoint enables you to search all computers across your organization for any events or activities associated with a file or network operation, and returns computers that match the specified criteria. You can then query the /computers/{connector-guid}/trajectory endpoint for specific details.
  - name: amp_get_events
    arguments:
    - name: limit
      description: Maximum number of results to return.
    - name: connector_guid
      description: The connector GUID.
    - name: group_guid
      description: The group GUID.
    - name: detection_sha256
      description: The detected SHA256 hash.
    - name: application_sha256
      description: The application SHA256.
    - name: event_type
      description: The event type.
    - name: offset
      description: The offset.
    - name: start_date
      description: The start date for the query, in ISO8601 format.
    description: A general query interface for events. This is analogous to the Events view on the FireAMP Console.
  - name: amp_get_event_types
    arguments: []
    description: Events are identified and filtered by a unique ID. This endpoint provides a human readable name and short description of each event (by ID).
  - name: amp_get_application_blocking
    arguments:
    - name: limit
      description: Maximum number of results to return.
    - name: offset
      description: The offset.
    - name: name
      description: Name of the file.
    description: Returns a list of application blocking file lists. You can filter this list by name
  - name: amp_get_file_list_by_guid
    arguments:
    - name: file_list_guid
      required: true
      default: true
      description: Retrieves information about a particular file_list.
    description: Returns a particular file list for application blocking or simple custom detection. You need to specify the file_list_guid argument to retrieve information about a particular file_list.
  - name: amp_get_simple_custom_detections
    arguments:
    - name: limit
      description: Maximum number of results to return.
    - name: offset
      description: The offset.
    - name: name
      description: Name of the detection.
    description: Returns a list of simple custom detection file lists. You can filter this list by detection name.
  - name: amp_get_file_list_files
    arguments:
    - name: limit
      description: Maximum number of results to return.
    - name: offset
      description: The offset.
    - name: file_list_guid
      required: true
      default: true
      description: Retrieves information about a particular file_list.
    description: Returns a list of items for a particular file_list. You need to specify the file_list_guid argument to retrieve these items.
  - name: amp_get_file_list_files_by_sha
    arguments:
    - name: file_list_guid
      required: true
      default: true
      description: Retrieves information about a particular file_list.
    - name: sha256
      required: true
      description: SHA256 hash.
    description: Returns a particular item for a given file_list. You need to specify the sha256 argument and the file_list_guid argument to retrieve an item.
  - name: amp_set_file_list_files_by_sha
    arguments:
    - name: file_list_guid
      required: true
      default: true
      description: Retrieves information about a particular file_list.
    - name: sha256
      required: true
      description: SHA256 hash.
    - name: description
      description: Description of the SHA256 hash.
    description: Adds a SHA256 hash to a file list, using file_list_guid.
  - name: amp_delete_file_list_files_by_sha
    arguments:
    - name: file_list_guid
      required: true
      default: true
      description: The file_list_guid to retrieve information about a particular file_list.
    - name: sha256
      required: true
      description: SHA256 hash.
    description: Deletes an item from a file_list using the SHA256 hash and file_list_guid.
  - name: amp_get_groups
    arguments:
    - name: limit
      description: amount of results.
    - name: name
      description: name of the group.
    description: Returns basic information about groups in your organization. You can map group names to GUIDs for filtering on the events endpoint.
  - name: amp_get_group
    arguments:
    - name: group_guid
      required: true
      default: true
      description: The particular group guid.
    description: Returns a particular group
  - name: amp_set_group_policy
    arguments:
    - name: group_guid
      required: true
      default: true
      description: The group GUID.
    - name: linux_policy_guid
      description: The Linux policy guide.
    - name: android_policy_guid
      description: The Android policy guide.
    - name: mac_policy_guid
      description: The Mac policy guide.
    - name: windows_policy_guid
      description: The Windows policy guide.
    description: Sets a security policy to a group of endpoints.
  - name: amp_get_policies
    arguments:
    - name: limit
      description: Maximum number of results to return.
    - name: offset
      description: The offset.
    - name: name
      description: The policy name.
    - name: product
      description: The policy product.
    description: Returns a list of policies. You can filter this list by name and product.
  - name: amp_get_policy
    arguments:
    - name: policy_guid
      required: true
      default: true
      description: The policy GUID.
    description: Retrieves information about a particular policy, based on policy_guid.
  - name: amp_get_version
    arguments: []
    description: Fetches a list of versions.
  - name: amp_delete_computers_isolation
    arguments:
    - name: connector_guid
      required: true
      default: true
      description: connector GUID.
    description: Performs a feature availability request on a computer. Can also be used as a course-grained isolation status request.
  - name: amp_put_computers_isolation
    arguments:
    - name: connector_guid
      required: true
      default: true
      description: connector GUID.
    description: Request Isolation for a Computer.  If a computer is already isolated a 409 Conflict error status will be sent. Returns the same result of a GET request on the /isolation endpoint.
  - name: amp_get_computers_isolation
    arguments:
    - name: connector_guid
      required: true
      default: true
      description: connector GUID.
    description: 'Returns a fine grained isolation status for a computer.  The available flag is set to true if isolation can be performed on the computer.  status will be set to one of:  not_isolated pending_start isolated pending_stop'
  runonce: false
fromversion: 5.0.0
tests:
- No test - missing instace