Current File : //opt/imunify360/venv/lib64/python3.11/site-packages/imav/malwarelib/rpc/schema/history.yaml |
malware history list:
help: Show the log of Malware Scanner events and performed actions
return_type: MalwareHistoryListAgentResponse
type: dict
cli:
users:
- root
schema:
since:
type: integer
coerce: int
default: 0
help: Show events after this unix timestamp.
to:
type: integer
coerce: int
default_setter: now
help: Show events before this unix timestamp.
limit:
type: integer
default: 50
coerce: int
help: Page size
offset:
type: integer
default: 0
coerce: int
help: Page offset
search:
type: string
nullable: true
help: Search by file path.
user:
type: string
nullable: true
help: |
Admins can filter results by user.
Users can only see the events relevant to them.
order_by:
type: list
schema:
type: order_by
coerce: order_by
nullable: true
help: |
List of fields to order by, each followed by a `+` (ascending) or `-` (descending).
E.g. `["ctime-","initiator+"]` would order by event timestamp descending and event `initiator` ascending.