Class GetAlertsRequestParameters
Request options for GetAlerts
<p>https://docs.opensearch.org/latest/security-analytics/api-tools/alert-finding-api/#get-alerts</p>
Inheritance
GetAlertsRequestParameters
Assembly: OpenSearch.Net.dll
Syntax
public class GetAlertsRequestParameters : RequestParameters<GetAlertsRequestParameters>, IRequestParameters
Properties
|
Edit this page
View Source
AlertState
Used to filter by alert state. Optional.
Declaration
public SecurityAnalyticsAlertsAlertState? AlertState { get; set; }
Property Value
|
Edit this page
View Source
DefaultHttpMethod
Declaration
public override HttpMethod DefaultHttpMethod { get; }
Property Value
Overrides
|
Edit this page
View Source
DetectorId
The ID of the detector used to fetch alerts. Optional when detectorType is specified. Otherwise required.
Declaration
public string DetectorId { get; set; }
Property Value
|
Edit this page
View Source
DetectorType
The type of detector used to fetch alerts. Optional when detector_id is specified. Otherwise required.
Declaration
public string DetectorType { get; set; }
Property Value
|
Edit this page
View Source
EndTime
The end timestamp (in ms) of the time window in which you want to retrieve alerts. Optional.
Declaration
public long? EndTime { get; set; }
Property Value
|
Edit this page
View Source
Missing
Used to sort by whether the field missing exists or not in the documents associated with the alert. Optional.
Declaration
public string Missing { get; set; }
Property Value
|
Edit this page
View Source
OperationName
The OpenSearch REST API operation name this request maps to (for example search or
indices.create), used as the OpenTelemetry span name and db.operation tag.
null for requests that do not correspond to a named API operation.
Declaration
public override string OperationName { get; }
Property Value
Overrides
|
Edit this page
View Source
SearchString
The alert attribute you want returned in the search. Optional.
Declaration
public string SearchString { get; set; }
Property Value
|
Edit this page
View Source
SeverityLevel
Used to filter by alert severity level. Optional.
Declaration
public SecurityAnalyticsAlertsAlertSeverityLevel? SeverityLevel { get; set; }
Property Value
|
Edit this page
View Source
Size
The maximum number of results returned in the response. Optional.
Declaration
public long? Size { get; set; }
Property Value
|
Edit this page
View Source
SortOrder
The order used to sort the list of findings. Possible values are asc or desc. Optional.
Declaration
public SortOrder? SortOrder { get; set; }
Property Value
|
Edit this page
View Source
SortString
The string used by Security Analytics to sort the alerts. Optional.
Declaration
public string SortString { get; set; }
Property Value
|
Edit this page
View Source
StartIndex
The pagination index. Optional.
Declaration
public long? StartIndex { get; set; }
Property Value
|
Edit this page
View Source
StartTime
The beginning timestamp (in ms) of the time window in which you want to retrieve alerts. Optional.
Declaration
public long? StartTime { get; set; }
Property Value
|
Edit this page
View Source
SupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
Overrides
Implements
Extension Methods