slackline/api/admin/audit/anomaly_allow_update_item
This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.
Setters for the optional arguments of
admin.audit.anomaly.allow.updateItem.
Each setter takes the call that audit.anomaly_allow_update_item returns
and sets one argument:
audit.anomaly_allow_update_item()
|> anomaly_allow_update_item.trusted_cidr(trusted_cidr)
Values
pub fn trusted_asns(
call: slackline.Call(audit.AnomalyAllowUpdateItem, r),
trusted_asns: List(Int),
) -> slackline.Call(audit.AnomalyAllowUpdateItem, r)
Allow list of Autonomous System Numbers, as integers. Overwrites the previous list.
pub fn trusted_cidr(
call: slackline.Call(audit.AnomalyAllowUpdateItem, r),
trusted_cidr: List(String),
) -> slackline.Call(audit.AnomalyAllowUpdateItem, r)
Allow list of IPv4 addresses in CIDR notation. Overwrites the previous list.