Sha256: 738d1bbbe0ba88f0d625b01f3e9ab10ece98a28fd258df700362ee28cf4c0893

Contents?: true

Size: 1.44 KB

Versions: 36

Compression:

Stored size: 1.44 KB

Contents

Aws.config[:wafregional] = {
  stub_responses: {
    list_web_acls: {
      next_marker: nil,
      web_acls: [
        {
          web_acl_id: '1234567-abcd-1234-efgh-5678-1234567890',
          name: 'my-wafregional-web-acl'
        }
      ]
    },
    get_web_acl: {
      web_acl: {
        web_acl_id: '1234567-abcd-1234-efgh-5678-1234567890',
        name: 'my-wafregional-web-acl',
        metric_name: 'mywafregionalwebacl',
        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-wafregional-web-acl-allowed-ips'
        }
      ]
    },
    get_rule: {
      rule: {
        rule_id: 'dddddddd-1111-2222-3333-eeeeeeeeeeee',
        name: 'my-wafregional-web-acl-allowed-ips',
        metric_name: 'mywafregionalwebaclallowedips',
        predicates: [
          {
            negated: false,
            type: 'IPMatch',
            data_id: '22aa22bb-3333-aaaa-8888-bbbbbbbbbbbb'
          }
        ]
      }
    }
  }
}

Version data entries

36 entries across 36 versions & 3 rubygems

Version Path
awspec-1.25.1 lib/awspec/stub/wafregional_web_acl.rb
awspec-1.25.0 lib/awspec/stub/wafregional_web_acl.rb
awspec-1.24.4 lib/awspec/stub/wafregional_web_acl.rb
awspec-1.24.3 lib/awspec/stub/wafregional_web_acl.rb
awspec-1.24.2 lib/awspec/stub/wafregional_web_acl.rb
awspec-1.24.1 lib/awspec/stub/wafregional_web_acl.rb
awspec-1.24.0 lib/awspec/stub/wafregional_web_acl.rb
awspec-1.23.0 lib/awspec/stub/wafregional_web_acl.rb
awspec-1.22.1 lib/awspec/stub/wafregional_web_acl.rb
awspec-1.22.0 lib/awspec/stub/wafregional_web_acl.rb
awspec-1.21.1 lib/awspec/stub/wafregional_web_acl.rb
awspec-1.21.0 lib/awspec/stub/wafregional_web_acl.rb
awspec-1.20.0 lib/awspec/stub/wafregional_web_acl.rb
awspec-1.19.2 lib/awspec/stub/wafregional_web_acl.rb
awspec-1.19.1 lib/awspec/stub/wafregional_web_acl.rb
awspec-1.19.0 lib/awspec/stub/wafregional_web_acl.rb
cthiesfork-awspec-1.2.4 lib/awspec/stub/wafregional_web_acl.rb
awspec-api_gateway_extended-1.2.4 lib/awspec/stub/wafregional_web_acl.rb
awspec-api_gateway_extended-1.2.3 lib/awspec/stub/wafregional_web_acl.rb
awspec-1.18.6 lib/awspec/stub/wafregional_web_acl.rb