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.6.0 lib/awspec/stub/waf_web_acl.rb
awspec-1.5.4 lib/awspec/stub/waf_web_acl.rb
awspec-1.5.3 lib/awspec/stub/waf_web_acl.rb
awspec-1.5.2 lib/awspec/stub/waf_web_acl.rb
awspec-1.5.1 lib/awspec/stub/waf_web_acl.rb
awspec-1.5.0 lib/awspec/stub/waf_web_acl.rb
awspec-1.4.3 lib/awspec/stub/waf_web_acl.rb
awspec-1.4.2 lib/awspec/stub/waf_web_acl.rb
awspec-1.4.1 lib/awspec/stub/waf_web_acl.rb
awspec-1.4.0 lib/awspec/stub/waf_web_acl.rb
awspec-1.3.1 lib/awspec/stub/waf_web_acl.rb
awspec-1.3.0 lib/awspec/stub/waf_web_acl.rb
awspec-1.2.0 lib/awspec/stub/waf_web_acl.rb
awspec-1.1.0 lib/awspec/stub/waf_web_acl.rb
awspec-1.0.0 lib/awspec/stub/waf_web_acl.rb
awspec-1.0.0.rc lib/awspec/stub/waf_web_acl.rb
awspec-0.88.2 lib/awspec/stub/waf_web_acl.rb
awspec-0.88.1 lib/awspec/stub/waf_web_acl.rb
awspec-0.88.0 lib/awspec/stub/waf_web_acl.rb
awspec-0.87.1 lib/awspec/stub/waf_web_acl.rb