Module: Slack::Web::Api::Endpoints::AdminAuditAnomalyAllow

Included in:
Slack::Web::Api::Endpoints
Defined in:
lib/slack/web/api/endpoints/admin_audit_anomaly_allow.rb

Instance Method Summary collapse

Instance Method Details

#admin_audit_anomaly_allow_getItem(options = {}) ⇒ Object

API to allow enterprise grid admins to read the allow list of IP blocks and ASNs from the enterprise configuration.



14
15
16
# File 'lib/slack/web/api/endpoints/admin_audit_anomaly_allow.rb', line 14

def admin_audit_anomaly_allow_getItem(options = {})
  post('admin.audit.anomaly.allow.getItem', options)
end

#admin_audit_anomaly_allow_updateItem(options = {}) ⇒ Object

API to allow enterprise grid admins to write/overwrite the allow list of IP blocks and ASNs from the enterprise configuration.

Parameters:

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • :trusted_asns (array)

    allow list of Autonomous System Numbers (ASN) in the enterprise grid configuarion.

  • :trusted_cidr (array)

    allow list of IPv4 addressses using cidr notation in the enterprise grid configuarion.

See Also:



27
28
29
# File 'lib/slack/web/api/endpoints/admin_audit_anomaly_allow.rb', line 27

def admin_audit_anomaly_allow_updateItem(options = {})
  post('admin.audit.anomaly.allow.updateItem', options)
end