Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PLGN-639] Proofpoint TAP Release v4.1.2 #2238

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions plugins/proofpoint_tap/.CHECKSUM
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"spec": "d1493ef38c62f567771d7036bad1893f",
"manifest": "a3ee5e6adb00aad45679877f40597052",
"spec": "d3d68bbdba90655716ee26c5b8bdfcc7",
"manifest": "062e6b1b5040557d266b72600d901cfa",
"setup": "05601ce03de7ffb575c1624250bbfe27",
"schemas": [
{
"identifier": "fetch_forensics/schema.py",
"hash": "1bc4f1d39eb7a8537a47383f5ec00255"
"hash": "cfc2b6790cbbd17d426f7e157fc17468"
},
{
"identifier": "get_all_threats/schema.py",
Expand Down Expand Up @@ -45,7 +45,7 @@
},
{
"identifier": "monitor_events/schema.py",
"hash": "41aa46532b340c5c93d1905a7b832347"
"hash": "a209946dd335677bf9a8ba403934d3c9"
}
]
}
4 changes: 2 additions & 2 deletions plugins/proofpoint_tap/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rapid7/insightconnect-python-3-38-slim-plugin:5
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-slim-plugin:5

LABEL organization=rapid7
LABEL sdk=python
Expand All @@ -12,7 +12,7 @@ RUN if [ -f requirements.txt ]; then pip install -r requirements.txt; fi

ADD . /python/src

RUN python setup.py build && python setup.py install
RUN python setup.py build && python setup.py install

# User to run plugin code. The two supported users are: root, nobody
USER nobody
Expand Down
2 changes: 1 addition & 1 deletion plugins/proofpoint_tap/bin/komand_proofpoint_tap
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ from sys import argv

Name = "Proofpoint TAP"
Vendor = "rapid7"
Version = "4.1.1"
Version = "4.1.2"
Description = "Parse Proofpoint Targeted Attack Protection (TAP) alerts"


Expand Down
1 change: 1 addition & 0 deletions plugins/proofpoint_tap/help.md
Original file line number Diff line number Diff line change
Expand Up @@ -1171,6 +1171,7 @@ This plugin does not contain any troubleshooting information.

# Version History

* 4.1.2 - Update to latest plugin SDK to get task and exception logging
* 4.1.1 - Monitor Events Task: Update max lookback time, remove log cleaning, add debugging
* 4.1.0 - Update to latest plugin SDK
* 4.0.0 - Add Monitor Events task | Code refactor | Update plugin to be cloud enabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class FetchForensicsOutput(insightconnect_plugin_runtime.Output):
}
},
"required": [
"generated",
"reports"
],
"definitions": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self):
state=MonitorEventsState(),
)

def run(self, params={}, state={}): # pylint: disable=unused-argument
def run(self, params={}, state={}): # noqa: MC0001
self.connection.client.toggle_rate_limiting = False
has_more_pages = False
try:
Expand Down Expand Up @@ -110,7 +110,7 @@ def run(self, params={}, state={}): # pylint: disable=unused-argument
return new_unique_logs, state, has_more_pages, 200, None

except ApiException as error:
self.logger.info(f"API Exception occurred: {error}")
self.logger.info(f"API Exception occurred: status_code: {error.status_code}, error: {error}")
state[self.PREVIOUS_LOGS_HASHES] = []
return [], state, False, error.status_code, error
except Exception as error:
Expand Down
4 changes: 2 additions & 2 deletions plugins/proofpoint_tap/plugin.spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ products: [insightconnect]
name: proofpoint_tap
title: Proofpoint TAP
description: Parse Proofpoint Targeted Attack Protection (TAP) alerts
version: 4.1.1
version: 4.1.2
connection_version: 4
supported_versions: ["Proofpoint TAP API v2", "Tested on 2023-06-22"]
supported_versions: ["Proofpoint TAP API v2", "Tested on 2024-01-12"]
sdk:
type: slim
version: 5
Expand Down
Loading