Sha256: a9592c3b4bade9a833a10a978197b66e8996d671ef756081d255b23feece033c
Contents?: true
Size: 1.43 KB
Versions: 4
Compression:
Stored size: 1.43 KB
Contents
# frozen_string_literal: true # This file was auto-generated by lib/tasks/web.rake module Slack module Cli class App 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 end end end
Version data entries
4 entries across 4 versions & 1 rubygems