Sha256: 72da75e37c1a0f177446c1009968f54a0bc3b811d68e6f56b140c79bbde3938a

Contents?: true

Size: 1.55 KB

Versions: 5

Compression:

Stored size: 1.55 KB

Contents

# 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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 lib/slack/web/api/endpoints/admin_audit_anomaly_allow.rb
slack-ruby-client-2.3.0 lib/slack/web/api/endpoints/admin_audit_anomaly_allow.rb
slack-ruby-client-2.2.0 lib/slack/web/api/endpoints/admin_audit_anomaly_allow.rb
slack-ruby-client-2.1.0 lib/slack/web/api/endpoints/admin_audit_anomaly_allow.rb
slack-ruby-client-2.0.0 lib/slack/web/api/endpoints/admin_audit_anomaly_allow.rb