slackline/api/admin/audit
This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.
Admin audit: the anomaly event allow list of trusted IP ranges and ASNs.
Types
Identifies admin.audit.anomaly.allow.getItem in the slackline.Call that
anomaly_allow_get_item returns.
pub type AnomalyAllowGetItem
A successful response from admin.audit.anomaly.allow.getItem.
pub type AnomalyAllowGetItemResponse {
AnomalyAllowGetItemResponse(
trusted_cidr: option.Option(List(String)),
trusted_asns: option.Option(List(Int)),
)
}
Constructors
-
AnomalyAllowGetItemResponse( trusted_cidr: option.Option(List(String)), trusted_asns: option.Option(List(Int)), )Arguments
- trusted_cidr
-
Allow list of IPv4 ranges in CIDR notation.
- trusted_asns
-
Allow list of Autonomous System Numbers.
Identifies admin.audit.anomaly.allow.updateItem in the slackline.Call
that anomaly_allow_update_item returns.
pub type AnomalyAllowUpdateItem
Values
pub fn anomaly_allow_get_item() -> slackline.Call(
AnomalyAllowGetItem,
AnomalyAllowGetItemResponse,
)
admin.audit.anomaly.allow.getItem:
API to allow Enterprise org admins to read the allow list of IP blocks and
ASNs from the enterprise configuration.
audit.AnomalyAllowGetItem identifies this method in slackline.Call.
User token scopes: admin.
Rate limit tier: t2.
Documented errors: endpoint_unavailable, not_an_enterprise,
unsupported_action_describe, unsupported_action_put.
pub fn anomaly_allow_get_item_response_decoder() -> decode.Decoder(
AnomalyAllowGetItemResponse,
)
Decodes the response from admin.audit.anomaly.allow.getItem.
pub fn anomaly_allow_update_item() -> slackline.Call(
AnomalyAllowUpdateItem,
Nil,
)
admin.audit.anomaly.allow.updateItem:
API to allow Enterprise org admins to write/overwrite the allow list of IP
blocks and ASNs from the enterprise configuration.
audit.AnomalyAllowUpdateItem identifies this method in slackline.Call.
Set optional arguments with the functions in
slackline/api/admin/audit/anomaly_allow_update_item.
User token scopes: admin.
Rate limit tier: t2.
Documented errors: endpoint_unavailable, invalid_field_or_data,
unable_to_process_post_request, unsupported_action_describe,
unsupported_action_put.