parsedmarc.splunk
🔗
HECClient
🔗
HECClient(
url: str,
access_token: str,
index: str,
source: str = "parsedmarc",
verify: bool = True,
timeout: int = 60,
)
A client for a Splunk HTTP Events Collector (HEC)
PARAMETER | DESCRIPTION |
---|---|
url |
The URL of the HEC
TYPE:
|
access_token |
The HEC access token
TYPE:
|
index |
The name of the index
TYPE:
|
source |
The source name
TYPE:
|
verify |
Verify SSL certificates
TYPE:
|
timeout |
Number of seconds to wait for the server to send data before giving up
TYPE:
|
save_aggregate_reports_to_splunk
🔗
save_aggregate_reports_to_splunk(
aggregate_reports: (
AggregateReport | list[AggregateReport]
),
)
Save aggregate DMARC reports to Splunk
PARAMETER | DESCRIPTION |
---|---|
aggregate_reports |
Aggregate reports to save in Splunk
TYPE:
|
save_forensic_reports_to_splunk
🔗
save_forensic_reports_to_splunk(
forensic_reports: ForensicReport | list[ForensicReport],
)
Save forensic DMARC reports to Splunk
PARAMETER | DESCRIPTION |
---|---|
forensic_reports |
Forensic reports to save in Splunk
TYPE:
|