Skip to content

Commit

Permalink
Update Get Agent Detail output
Browse files Browse the repository at this point in the history
  • Loading branch information
rmurray-r7 committed Jan 8, 2025
1 parent ee5250d commit 251c5a5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugins/rapid7_insight_agent/.CHECKSUM
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"spec": "068f90d6f4a93addc62a6c00ad1aa085",
"spec": "40959d25471f8645178e8e15095f7a3b",
"manifest": "fbc1b04c51c6c8816dac6cee216341c2",
"setup": "7f65232e4808ae89ad79c06f1b2dc5a2",
"schemas": [
Expand Down
2 changes: 1 addition & 1 deletion plugins/rapid7_insight_agent/help.md
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ Example output:

# Version History

* 3.0.2 - Updated to use latest buildpack to address vulnerabilities
* 3.0.2 - Updated to use latest buildpack to address vulnerabilities | Update `Get Agent Details`: extended output to include `agent` field when no assets are found
* 3.0.1 - Update 'Get Agent Details' to allow no assets to be returned | SDK bump to latest version
* 3.0.0 - Update `Get Agent Details` and `Get All Agents by IP` to return the next page token if more pages are available to search | Update `Get Agent Details` to return agent location details | Initial updates for fedramp compliance | Updated SDK to the latest version
* 2.1.2 - Improve logging | Update SDK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ def _get_agent(self, agent_input: str, agent_type: str, next_cursor: str = None)
return agent, None
else:
self.logger.info("No assets were found")
return None, None
return {}, None

def _get_agents(self, agents_input: List[str]) -> [Tuple[str, dict]]:
"""
Expand Down
2 changes: 1 addition & 1 deletion plugins/rapid7_insight_agent/plugin.spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ links:
references:
- "[Manage Platform API Keys](https://docs.rapid7.com/insight/managing-platform-api-keys/)"
version_history:
- "3.0.2 - Updated to use latest buildpack to address vulnerabilities"
- "3.0.2 - Updated to use latest buildpack to address vulnerabilities | Update `Get Agent Details`: extended output to include `agent` field when no assets are found"
- "3.0.1 - Update 'Get Agent Details' to allow no assets to be returned | SDK bump to latest version"
- "3.0.0 - Update `Get Agent Details` and `Get All Agents by IP` to return the next page token if more pages are available to search | Update `Get Agent Details` to return agent location details | Initial updates for fedramp compliance | Updated SDK to the latest version"
- "2.1.2 - Improve logging | Update SDK"
Expand Down

0 comments on commit 251c5a5

Please sign in to comment.