Sha256: 9e11f29318299bab8ba663eda6ee261973ea7db000fee9ab312caf8762fcb998

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 KB

Contents

# frozen_string_literal: true
# This file was auto-generated by lib/tasks/web.rake

desc 'AdminAuditAnomalyAllow methods.'
command 'admin_audit_anomaly_allow' do |g|
  g.desc 'API to allow enterprise grid admins to read the allow list of IP blocks and ASNs from the enterprise configuration.'
  g.long_desc %( API to allow enterprise grid admins to read the allow list of IP blocks and ASNs from the enterprise configuration. )
  g.command 'getItem' do |c|
    c.action do |_global_options, options, _args|
      puts JSON.dump($client.admin_audit_anomaly_allow_getItem(options))
    end
  end

  g.desc 'API to allow enterprise grid admins to write/overwrite the allow list of IP blocks and ASNs from the enterprise configuration.'
  g.long_desc %( API to allow enterprise grid admins to write/overwrite the allow list of IP blocks and ASNs from the enterprise configuration. )
  g.command 'updateItem' do |c|
    c.flag 'trusted_asns', desc: 'allow list of Autonomous System Numbers (ASN) in the enterprise grid configuarion.'
    c.flag 'trusted_cidr', desc: 'allow list of IPv4 addressses using cidr notation in the enterprise grid configuarion.'
    c.action do |_global_options, options, _args|
      puts JSON.dump($client.admin_audit_anomaly_allow_updateItem(options))
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slack-ruby-client-2.0.0 bin/commands/admin_audit_anomaly_allow.rb