Sha256: 5c82df134efcadc186d11eafd8844b3f4e8b7698a060e3c74bf51f3458ee4034

Contents?: true

Size: 1.39 KB

Versions: 145

Compression:

Stored size: 1.39 KB

Contents

Aws.config[:waf] = {
  stub_responses: {
    list_web_acls: {
      next_marker: nil,
      web_acls: [
        {
          web_acl_id: '1234567-abcd-1234-efgh-5678-1234567890',
          name: 'my-waf-web-acl'
        }
      ]
    },
    get_web_acl: {
      web_acl: {
        web_acl_id: '1234567-abcd-1234-efgh-5678-1234567890',
        name: 'my-waf-web-acl',
        metric_name: 'mywafwebacl',
        default_action: {
          type: 'BLOCK'
        },
        rules: [
          {
            priority: 1,
            rule_id: 'aaaaaaaa-0000-5555-3333-eeeeeeeeeeee',
            action: {
              type: 'ALLOW'
            }
          },
          {
            priority: 2,
            rule_id: 'dddddddd-1111-2222-3333-eeeeeeeeeeee',
            action: {
              type: 'BLOCK'
            }
          }
        ]
      }
    },
    list_rules: {
      next_marker: nil,
      rules: [
        {
          rule_id: 'dddddddd-1111-2222-3333-eeeeeeeeeeee',
          name: 'my-waf-web-acl-allowed-ips'
        }
      ]
    },
    get_rule: {
      rule: {
        rule_id: 'dddddddd-1111-2222-3333-eeeeeeeeeeee',
        name: 'my-waf-web-acl-allowed-ips',
        metric_name: 'mywafwebaclallowedips',
        predicates: [
          {
            negated: false,
            type: 'IPMatch',
            data_id: '22aa22bb-3333-aaaa-8888-bbbbbbbbbbbb'
          }
        ]
      }
    }
  }
}

Version data entries

145 entries across 145 versions & 4 rubygems

Version Path
awspec-1.15.1 lib/awspec/stub/waf_web_acl.rb
awspec-1.15.0 lib/awspec/stub/waf_web_acl.rb
awspec-1.14.1 lib/awspec/stub/waf_web_acl.rb
awspec-1.14.0 lib/awspec/stub/waf_web_acl.rb
awspec-1.13.0 lib/awspec/stub/waf_web_acl.rb
awspec-1.12.7 lib/awspec/stub/waf_web_acl.rb
awspec-1.12.6 lib/awspec/stub/waf_web_acl.rb
awspec-1.12.5 lib/awspec/stub/waf_web_acl.rb
awspec-1.12.4 lib/awspec/stub/waf_web_acl.rb
awspec-1.12.3 lib/awspec/stub/waf_web_acl.rb
awspec-1.12.2 lib/awspec/stub/waf_web_acl.rb
awspec-1.12.1 lib/awspec/stub/waf_web_acl.rb
awspec-1.12.0 lib/awspec/stub/waf_web_acl.rb
awspec-1.11.1 lib/awspec/stub/waf_web_acl.rb
awspec-1.11.0 lib/awspec/stub/waf_web_acl.rb
awspec-1.10.0 lib/awspec/stub/waf_web_acl.rb
awspec-1.9.0 lib/awspec/stub/waf_web_acl.rb
awspec-1.8.0 lib/awspec/stub/waf_web_acl.rb
awspec-1.7.0 lib/awspec/stub/waf_web_acl.rb
awspec-1.6.1 lib/awspec/stub/waf_web_acl.rb