This component provides an interface for clients (Gardener Dashboard, command line) to retrieve stored Falco events.
verify user identity Currently the provider offers two endpoints. To query either endpoint a valid JWT needs to be provided in the Authorization header:
Authorization: Bearer <token>The event endpoint can be queried for events originating from one specific cluster belonging to a project of a landscape.
The endpoint path consists of the landscape, project and cluster name. The cluster is optional and does not have to be provided.
api/events/v1alpha1/<LANDSCAPE>/<PROJECT>/<CLUSTER>An optional filter parameter can be provided. The filter is a JSON object with the following optional fields.
startstart time from which event shall be consideredendend time from which event shall be consideredlimitmaximum number of events to returnoffsetoffset for paginated requestshostnameslist of Kubernetes node namesprioritieslist of Falco prioritiesruleslist of Falco rulesidslist of event ids
The start and end time define the direction of obtaining event. Per default the most current event will be provided first and the oldest event will be provided last. Time values need to be provided in ISO 8601 format.
api/events/v1alpha1/sap-landscape-dev/garden/aws-ha?filter=%7B%22limit%22%3A+1%2C+%22start%22%3A+%222024-09-02T08%3A48%3A10.297213%2B00%3A00%22%2C+%22end%22%3A+%222024-09-03T08%3A48%3A10.297213%2B00%3A00%22%7DThe event endpoint returns the events under the response field in the retured JSON object. If not all events could be retured in a single query (due to the number of remaing events being larger than the page size), a continueFilter is also retured. This filter sets the offset accordingly and can this be used as the filter for a new request to obtain the next page of events. If all events defined by the filter could be retured in a response, no continueFilter is provided.
The count endpoint can be queried for a summary of event counts grouped by severity for all projects in a landscape.
The endpoint path consists of the landscape.
api/count/v1alpha1/<LANDSCAPE>api/count/v1alpha1/sap-landscape-devThe group endpoint can be queried for an aggregation of events over time and key metrics.
The endpoint path consists of the landscape, the project and an optional cluster
api/group/v1alpha1/<LANDSCAPE>/<PROJECT>/<CLUSTER>api/group/v1alpha1/sap-landscape-dev/garden