lib/slack/web/api/endpoints/admin_audit_anomaly_allow.rb
# frozen_string_literal: true
# This file was auto-generated by lib/tasks/web.rake
module Slack
module Web
module Api
module Endpoints
module AdminAuditAnomalyAllow
#
# API to allow enterprise grid admins to read the allow list of IP blocks and ASNs from the enterprise configuration.
#
# @see https://api.slack.com/methods/admin.audit.anomaly.allow.getItem
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.audit.anomaly.allow/admin.audit.anomaly.allow.getItem.json
def admin_audit_anomaly_allow_getItem(options = {})
post('admin.audit.anomaly.allow.getItem', options)
end
#
# API to allow enterprise grid admins to write/overwrite the allow list of IP blocks and ASNs from the enterprise configuration.
#
# @option options [array] :trusted_asns
# allow list of Autonomous System Numbers (ASN) in the enterprise grid configuarion.
# @option options [array] :trusted_cidr
# allow list of IPv4 addressses using cidr notation in the enterprise grid configuarion.
# @see https://api.slack.com/methods/admin.audit.anomaly.allow.updateItem
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.audit.anomaly.allow/admin.audit.anomaly.allow.updateItem.json
def admin_audit_anomaly_allow_updateItem(options = {})
post('admin.audit.anomaly.allow.updateItem', options)
end
end
end
end
end
end