Skip to content

Commit

Permalink
PAPP-35103 comments cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
grokas-splunk committed Dec 9, 2024
1 parent 5a18979 commit 3bf5f1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions crowdstrikeoauthapi_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -2761,6 +2761,7 @@ def _on_poll(self, param):

if not self.is_poll_now():
try:
# Track timestamps to ensure ingesting new incidents
last_ingestion_time = self._state.get("last_incident_timestamp", "")
params["filter"] = f"modified_timestamp:>'{last_ingestion_time}'"
except Exception as e:
Expand Down
2 changes: 1 addition & 1 deletion parse_cs_incidents.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def process_incidents(incidents):
incident.get("start", "Unknown Time"),
)

# Set container properties
# Container properties
container["description"] = incident.get("description", "No description available")
container["source_data_identifier"] = incident.get("incident_id")
container["severity"] = _get_incident_severity(incident.get("fine_score", 0))
Expand Down

0 comments on commit 3bf5f1d

Please sign in to comment.