diff --git a/plugins/rapid7_insight_agent/.CHECKSUM b/plugins/rapid7_insight_agent/.CHECKSUM index 1b644da355..6ec71985e7 100644 --- a/plugins/rapid7_insight_agent/.CHECKSUM +++ b/plugins/rapid7_insight_agent/.CHECKSUM @@ -1,5 +1,5 @@ { - "spec": "b8b7370c8f21f0adcc0684545a186a56", + "spec": "3ea8076dfb3cb04ad6239462632ca27e", "manifest": "fbc1b04c51c6c8816dac6cee216341c2", "setup": "7f65232e4808ae89ad79c06f1b2dc5a2", "schemas": [ @@ -9,11 +9,11 @@ }, { "identifier": "get_agent_details/schema.py", - "hash": "5b09dc2d9e61e0d0f0ebedfab722b120" + "hash": "8b95862344f318fbe4593d8c9710caef" }, { "identifier": "get_all_agents_by_ip/schema.py", - "hash": "02cda219f562d328ac60a9540c79d3a5" + "hash": "8c5c177cfaf437d557a9af2b9eaa97d7" }, { "identifier": "quarantine/schema.py", diff --git a/plugins/rapid7_insight_agent/Dockerfile b/plugins/rapid7_insight_agent/Dockerfile index cfd0c6f71e..37b5d97286 100755 --- a/plugins/rapid7_insight_agent/Dockerfile +++ b/plugins/rapid7_insight_agent/Dockerfile @@ -5,6 +5,8 @@ LABEL sdk=python WORKDIR /python/src + + ADD ./plugin.spec.yaml /plugin.spec.yaml ADD ./requirements.txt /python/src/requirements.txt diff --git a/plugins/rapid7_insight_agent/help.md b/plugins/rapid7_insight_agent/help.md index f77e801bd9..49f020c38b 100644 --- a/plugins/rapid7_insight_agent/help.md +++ b/plugins/rapid7_insight_agent/help.md @@ -79,8 +79,9 @@ Example output: ``` #### Get Agent Details - -This action is used to find and display detailed information about a device. If additional pages of agents are available, the action should be run again with the returned next cursor + +This action is used to find and display detailed information about a device. If additional pages of agents are +available, the action should be run again with the returned next cursor ##### Input @@ -142,8 +143,9 @@ Example output: ``` #### Get All Agents by IP Address - -This action is used to find all agents that share the same public or private IP address and display details about them. If additional pages of agents are available, the action should be run again with the returned next cursor + +This action is used to find all agents that share the same public or private IP address and display details about them. +If additional pages of agents are available, the action should be run again with the returned next cursor ##### Input @@ -453,9 +455,9 @@ Example output: |Hostname|string|None|False|Hostname|None| -## Troubleshooting +# Troubleshooting -If the actions `Get Agent Details` and `Get All Agents by IP` return a `next cursor` value, it is an indication that more pages of data are available to be reviewed. In this instance, it is recommended to run the action multiple times and pass the `next cursor` value, recording all agents found. +* If the actions `Get Agent Details` and `Get All Agents by IP` return a `next cursor` value, it is an indication that more pages of data are available to be reviewed. In this instance, it is recommended to run the action multiple times and pass the `next cursor` value, recording all agents found. # Version History diff --git a/plugins/rapid7_insight_agent/icon_rapid7_insight_agent/actions/get_agent_details/schema.py b/plugins/rapid7_insight_agent/icon_rapid7_insight_agent/actions/get_agent_details/schema.py index 0948736c9e..376e98f793 100755 --- a/plugins/rapid7_insight_agent/icon_rapid7_insight_agent/actions/get_agent_details/schema.py +++ b/plugins/rapid7_insight_agent/icon_rapid7_insight_agent/actions/get_agent_details/schema.py @@ -4,7 +4,7 @@ class Component: - DESCRIPTION = "Find and display detailed information about a device. If additional pages of agents are available, the action should be run again with the returned next cursor" + DESCRIPTION = "This action is used to find and display detailed information about a device. If additional pages of agents are available, the action should be run again with the returned next cursor" class Input: diff --git a/plugins/rapid7_insight_agent/icon_rapid7_insight_agent/actions/get_all_agents_by_ip/schema.py b/plugins/rapid7_insight_agent/icon_rapid7_insight_agent/actions/get_all_agents_by_ip/schema.py index 54ece95306..f6ca3f7abb 100644 --- a/plugins/rapid7_insight_agent/icon_rapid7_insight_agent/actions/get_all_agents_by_ip/schema.py +++ b/plugins/rapid7_insight_agent/icon_rapid7_insight_agent/actions/get_all_agents_by_ip/schema.py @@ -4,7 +4,7 @@ class Component: - DESCRIPTION = "Find all agents that share the same public or private IP address and display details about them. If additional pages of agents are available, the action should be run again with the returned next cursor" + DESCRIPTION = "This action is used to find all agents that share the same public or private IP address and display details about them. If additional pages of agents are available, the action should be run again with the returned next cursor" class Input: diff --git a/plugins/rapid7_insight_agent/plugin.spec.yaml b/plugins/rapid7_insight_agent/plugin.spec.yaml index 5a206220db..69ebff2b8b 100644 --- a/plugins/rapid7_insight_agent/plugin.spec.yaml +++ b/plugins/rapid7_insight_agent/plugin.spec.yaml @@ -21,7 +21,8 @@ key_features: requirements: - "[Platform API Key](https://docs.rapid7.com/insight/managing-platform-api-keys/)" - "Administrator access to InsightIDR" -troubleshooting: "If the actions `Get Agent Details` and `Get All Agents by IP` return a `next cursor` value, it is an indication that more pages of data are available to be reviewed. In this instance, it is recommended to run the action multiple times and pass the `next cursor` value, recording all agents found." +troubleshooting: + - "If the actions `Get Agent Details` and `Get All Agents by IP` return a `next cursor` value, it is an indication that more pages of data are available to be reviewed. In this instance, it is recommended to run the action multiple times and pass the `next cursor` value, recording all agents found." links: - "[Rapid7 Insight Agent](https://docs.rapid7.com/insight-agent/overview/)" references: @@ -290,7 +291,7 @@ actions: required: false get_agent_details: title: Get Agent Details - description: Find and display detailed information about a device. If additional pages of agents are available, the action should be run again with the returned next cursor + description: "This action is used to find and display detailed information about a device. If additional pages of agents are available, the action should be run again with the returned next cursor" input: agent: title: Agent @@ -319,7 +320,7 @@ actions: example: 9de5069c5afe602b2ea0a04b66beb2c0 get_all_agents_by_ip: title: Get All Agents by IP Address - description: Find all agents that share the same public or private IP address and display details about them. If additional pages of agents are available, the action should be run again with the returned next cursor + description: This action is used to find all agents that share the same public or private IP address and display details about them. If additional pages of agents are available, the action should be run again with the returned next cursor input: ip_address: title: IP Address