Node CrowdSec Client
Preparing search index...
crowdsec-http-middleware
Alerts
Class Alerts
Hierarchy (
View Summary
)
BaseSubObject
Alerts
Index
Constructors
constructor
Properties
http
Methods
delete
delete
By
Id
get
By
Id
push
Alerts
search
Constructors
constructor
new
Alerts
(
options
:
IBaseSubObjectOptions
)
:
Alerts
Parameters
options
:
IBaseSubObjectOptions
Returns
Alerts
Properties
Protected
http
http
:
AxiosInstance
Methods
delete
delete
(
options
:
APITypes
.
Alerts
.
DeleteAlerts
.
RequestQuery
,
)
:
Promise
<
APITypes
.
DeleteAlertsResponse
>
Parameters
options
:
APITypes
.
Alerts
.
DeleteAlerts
.
RequestQuery
Returns
Promise
<
APITypes
.
DeleteAlertsResponse
>
delete
By
Id
deleteById
(
id
:
string
)
:
Promise
<
APITypes
.
DeleteAlertsResponse
>
Parameters
id
:
string
Returns
Promise
<
APITypes
.
DeleteAlertsResponse
>
get
By
Id
getById
(
id
:
string
)
:
Promise
<
APITypes
.
GetAlertsResponse
>
Parameters
id
:
string
Returns
Promise
<
APITypes
.
GetAlertsResponse
>
push
Alerts
pushAlerts
(
datas
:
APITypes
.
AddAlertsRequest
,
)
:
Promise
<
APITypes
.
AddAlertsResponse
>
Create Alerts and return the IDs
Parameters
datas
:
APITypes
.
AddAlertsRequest
Returns
Promise
<
APITypes
.
AddAlertsResponse
>
search
search
(
options
?:
APITypes
.
Alerts
.
SearchAlerts
.
RequestQuery
,
)
:
Promise
<
APITypes
.
GetAlertsResponse
>
Parameters
Optional
options
:
APITypes
.
Alerts
.
SearchAlerts
.
RequestQuery
Returns
Promise
<
APITypes
.
GetAlertsResponse
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
http
Methods
delete
delete
By
Id
get
By
Id
push
Alerts
search
Node CrowdSec Client
Loading...
Create Alerts and return the IDs