Manager
psengine.malware_intel.malware_intel_mgr.MalwareIntelMgr
¶
Manages requests for Recorded Future Malware Intelligence API.
PARAMETER | DESCRIPTION |
---|---|
rf_token
|
Recorded Future API token.
TYPE:
|
Source code in psengine/malware_intel/malware_intel_mgr.py
reports
¶
reports(
query: str,
sha256: str,
start_date: str,
end_date: str,
my_enterprise: bool = False,
limit: int = DEFAULT_LIMIT,
) -> list[SandboxReport]
Search for the reports matching the specified parameters.
PARAMETER | DESCRIPTION |
---|---|
query
|
The filtering query to perform.
TYPE:
|
sha256
|
The SHA256 to search.
TYPE:
|
start_date
|
The starting date, format YYYY-MM-DD or relative like -1d.
TYPE:
|
end_date
|
The ending date, format YYYY-MM-DD or relative like -1d.
TYPE:
|
my_enterprise
|
If the report has been submitted by your enterprise.
TYPE:
|
limit
|
Maximum number of reports.
TYPE:
|
Endpoint
/malware-intelligence/v1/reports
RAISES | DESCRIPTION |
---|---|
ValidationError
|
If any supplied parameter is of incorrect type. |
MalwareIntelReportError
|
If API error occurs. |
RETURNS | DESCRIPTION |
---|---|
list[SandboxReport]
|
A list of reports that have been found. |