scenario:
  id: 9644ec3e2e7d4de9a5e8411677b50422
  context:
    auth:
      type: customized
    base_path: null
    host: us-west-2.nightly.shared.aws.tidbcloud.com
  description: need continue_on_unexpected and export unmatched case
  name: account_auditservice_swagger
steps:
- operation_id: get_api_v1_audit_org_id_audit_logs
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "customized",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/api/v1/audit/123/audit_logs",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "basic"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 401,
      "cel": ""
    }
  save: null
  description: 'Test 401 unauthorized access for get_api_v1_audit_org_id_audit_logs
    with X-Auth-Method: basic'
  max_retries: 0
  delay_after: 0
  name: test_401_get_api_v1_audit_org_id_audit_logs_basic_no_type
  continue_on_unexpected: false
  stage: execute
  meta: '{}'
  generation_id: 9644ec3e2e7d4de9a5e8411677b50422
  order: 1
  case_id: 9644ec3e2e7d4de9a5e8411677b50422_1
  case_type: typical_negative
  step_type: generated
- operation_id: get_api_v1_audit_org_id_audit_logs
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "customized",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/api/v1/audit/123/audit_logs",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "basic",
        "X-Auth-Type": "openapi"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 401,
      "cel": ""
    }
  save: null
  description: 'Test 401 unauthorized access for get_api_v1_audit_org_id_audit_logs
    with X-Auth-Method: basic, X-Auth-Type: openapi'
  max_retries: 0
  delay_after: 0
  name: test_401_get_api_v1_audit_org_id_audit_logs_basic_openapi
  continue_on_unexpected: false
  stage: execute
  meta: '{}'
  generation_id: 9644ec3e2e7d4de9a5e8411677b50422
  order: 2
  case_id: 9644ec3e2e7d4de9a5e8411677b50422_2
  case_type: typical_negative
  step_type: generated
- operation_id: get_api_v1_audit_org_id_audit_logs
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "customized",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/api/v1/audit/123/audit_logs",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "basic",
        "X-Auth-Type": "console"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 401,
      "cel": ""
    }
  save: null
  description: 'Test 401 unauthorized access for get_api_v1_audit_org_id_audit_logs
    with X-Auth-Method: basic, X-Auth-Type: console'
  max_retries: 0
  delay_after: 0
  name: test_401_get_api_v1_audit_org_id_audit_logs_basic_console
  continue_on_unexpected: false
  stage: execute
  meta: '{}'
  generation_id: 9644ec3e2e7d4de9a5e8411677b50422
  order: 3
  case_id: 9644ec3e2e7d4de9a5e8411677b50422_3
  case_type: typical_negative
  step_type: generated
- operation_id: get_api_v1_audit_org_id_audit_logs
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "customized",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/api/v1/audit/123/audit_logs",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 401,
      "cel": ""
    }
  save: null
  description: 'Test 401 unauthorized access for get_api_v1_audit_org_id_audit_logs
    with X-Auth-Method: digest'
  max_retries: 0
  delay_after: 0
  name: test_401_get_api_v1_audit_org_id_audit_logs_digest
  continue_on_unexpected: false
  stage: execute
  meta: '{}'
  generation_id: 9644ec3e2e7d4de9a5e8411677b50422
  order: 4
  case_id: 9644ec3e2e7d4de9a5e8411677b50422_4
  case_type: typical_negative
  step_type: generated
- operation_id: get_api_v1_audit_org_id_audit_logs
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "customized",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/api/v1/audit/123/audit_logs",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "bearer"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 401,
      "cel": ""
    }
  save: null
  description: 'Test 401 unauthorized access for get_api_v1_audit_org_id_audit_logs
    with X-Auth-Method: bearer'
  max_retries: 0
  delay_after: 0
  name: test_401_get_api_v1_audit_org_id_audit_logs_bearer
  continue_on_unexpected: false
  stage: execute
  meta: '{}'
  generation_id: 9644ec3e2e7d4de9a5e8411677b50422
  order: 5
  case_id: 9644ec3e2e7d4de9a5e8411677b50422_5
  case_type: typical_negative
  step_type: generated
- operation_id: put_api_v1_audit_org_id_settings
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "customized",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "PUT",
      "path": "/api/v1/audit/123/settings",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "basic"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 401,
      "cel": ""
    }
  save: null
  description: 'Test 401 unauthorized access for put_api_v1_audit_org_id_settings
    with X-Auth-Method: basic'
  max_retries: 0
  delay_after: 0
  name: test_401_put_api_v1_audit_org_id_settings_basic_no_type
  continue_on_unexpected: false
  stage: execute
  meta: '{}'
  generation_id: 9644ec3e2e7d4de9a5e8411677b50422
  order: 6
  case_id: 9644ec3e2e7d4de9a5e8411677b50422_6
  case_type: typical_negative
  step_type: generated
- operation_id: put_api_v1_audit_org_id_settings
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "customized",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "PUT",
      "path": "/api/v1/audit/123/settings",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "basic",
        "X-Auth-Type": "openapi"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 401,
      "cel": ""
    }
  save: null
  description: 'Test 401 unauthorized access for put_api_v1_audit_org_id_settings
    with X-Auth-Method: basic, X-Auth-Type: openapi'
  max_retries: 0
  delay_after: 0
  name: test_401_put_api_v1_audit_org_id_settings_basic_openapi
  continue_on_unexpected: false
  stage: execute
  meta: '{}'
  generation_id: 9644ec3e2e7d4de9a5e8411677b50422
  order: 7
  case_id: 9644ec3e2e7d4de9a5e8411677b50422_7
  case_type: typical_negative
  step_type: generated
- operation_id: put_api_v1_audit_org_id_settings
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "customized",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "PUT",
      "path": "/api/v1/audit/123/settings",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "basic",
        "X-Auth-Type": "console"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 401,
      "cel": ""
    }
  save: null
  description: 'Test 401 unauthorized access for put_api_v1_audit_org_id_settings
    with X-Auth-Method: basic, X-Auth-Type: console'
  max_retries: 0
  delay_after: 0
  name: test_401_put_api_v1_audit_org_id_settings_basic_console
  continue_on_unexpected: false
  stage: execute
  meta: '{}'
  generation_id: 9644ec3e2e7d4de9a5e8411677b50422
  order: 8
  case_id: 9644ec3e2e7d4de9a5e8411677b50422_8
  case_type: typical_negative
  step_type: generated
- operation_id: put_api_v1_audit_org_id_settings
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "customized",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "PUT",
      "path": "/api/v1/audit/123/settings",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 401,
      "cel": ""
    }
  save: null
  description: 'Test 401 unauthorized access for put_api_v1_audit_org_id_settings
    with X-Auth-Method: digest'
  max_retries: 0
  delay_after: 0
  name: test_401_put_api_v1_audit_org_id_settings_digest
  continue_on_unexpected: false
  stage: execute
  meta: '{}'
  generation_id: 9644ec3e2e7d4de9a5e8411677b50422
  order: 9
  case_id: 9644ec3e2e7d4de9a5e8411677b50422_9
  case_type: typical_negative
  step_type: generated
- operation_id: put_api_v1_audit_org_id_settings
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "customized",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "PUT",
      "path": "/api/v1/audit/123/settings",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "bearer"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 401,
      "cel": ""
    }
  save: null
  description: 'Test 401 unauthorized access for put_api_v1_audit_org_id_settings
    with X-Auth-Method: bearer'
  max_retries: 0
  delay_after: 0
  name: test_401_put_api_v1_audit_org_id_settings_bearer
  continue_on_unexpected: false
  stage: execute
  meta: '{}'
  generation_id: 9644ec3e2e7d4de9a5e8411677b50422
  order: 10
  case_id: 9644ec3e2e7d4de9a5e8411677b50422_10
  case_type: typical_negative
  step_type: generated
- operation_id: get_api_v1_audit_event_types
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "customized",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/api/v1/audit/event_types",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "basic"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 401,
      "cel": ""
    }
  save: null
  description: 'Test 401 unauthorized access for get_api_v1_audit_event_types with
    X-Auth-Method: basic'
  max_retries: 0
  delay_after: 0
  name: test_401_get_api_v1_audit_event_types_basic_no_type
  continue_on_unexpected: false
  stage: execute
  meta: '{}'
  generation_id: 9644ec3e2e7d4de9a5e8411677b50422
  order: 11
  case_id: 9644ec3e2e7d4de9a5e8411677b50422_11
  case_type: typical_negative
  step_type: generated
- operation_id: get_api_v1_audit_event_types
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "customized",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/api/v1/audit/event_types",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "basic",
        "X-Auth-Type": "openapi"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 401,
      "cel": ""
    }
  save: null
  description: 'Test 401 unauthorized access for get_api_v1_audit_event_types with
    X-Auth-Method: basic, X-Auth-Type: openapi'
  max_retries: 0
  delay_after: 0
  name: test_401_get_api_v1_audit_event_types_basic_openapi
  continue_on_unexpected: false
  stage: execute
  meta: '{}'
  generation_id: 9644ec3e2e7d4de9a5e8411677b50422
  order: 12
  case_id: 9644ec3e2e7d4de9a5e8411677b50422_12
  case_type: typical_negative
  step_type: generated
- operation_id: get_api_v1_audit_event_types
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "customized",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/api/v1/audit/event_types",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "basic",
        "X-Auth-Type": "console"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 401,
      "cel": ""
    }
  save: null
  description: 'Test 401 unauthorized access for get_api_v1_audit_event_types with
    X-Auth-Method: basic, X-Auth-Type: console'
  max_retries: 0
  delay_after: 0
  name: test_401_get_api_v1_audit_event_types_basic_console
  continue_on_unexpected: false
  stage: execute
  meta: '{}'
  generation_id: 9644ec3e2e7d4de9a5e8411677b50422
  order: 13
  case_id: 9644ec3e2e7d4de9a5e8411677b50422_13
  case_type: typical_negative
  step_type: generated
- operation_id: get_api_v1_audit_event_types
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "customized",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/api/v1/audit/event_types",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 401,
      "cel": ""
    }
  save: null
  description: 'Test 401 unauthorized access for get_api_v1_audit_event_types with
    X-Auth-Method: digest'
  max_retries: 0
  delay_after: 0
  name: test_401_get_api_v1_audit_event_types_digest
  continue_on_unexpected: false
  stage: execute
  meta: '{}'
  generation_id: 9644ec3e2e7d4de9a5e8411677b50422
  order: 14
  case_id: 9644ec3e2e7d4de9a5e8411677b50422_14
  case_type: typical_negative
  step_type: generated
- operation_id: get_api_v1_audit_event_types
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "customized",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/api/v1/audit/event_types",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "bearer"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 401,
      "cel": ""
    }
  save: null
  description: 'Test 401 unauthorized access for get_api_v1_audit_event_types with
    X-Auth-Method: bearer'
  max_retries: 0
  delay_after: 0
  name: test_401_get_api_v1_audit_event_types_bearer
  continue_on_unexpected: false
  stage: execute
  meta: '{}'
  generation_id: 9644ec3e2e7d4de9a5e8411677b50422
  order: 15
  case_id: 9644ec3e2e7d4de9a5e8411677b50422_15
  case_type: typical_negative
  step_type: generated
- operation_id: get_api_v1_audit_org_id_settings
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "customized",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/api/v1/audit/org_id/settings",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "basic"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 401,
      "cel": ""
    }
  save: null
  description: 'Test 401 unauthorized access for get_api_v1_audit_org_id_settings
    with X-Auth-Method: basic'
  max_retries: 0
  delay_after: 0
  name: test_401_get_api_v1_audit_org_id_settings_basic_no_type
  continue_on_unexpected: false
  stage: execute
  meta: '{}'
  generation_id: 9644ec3e2e7d4de9a5e8411677b50422
  order: 16
  case_id: 9644ec3e2e7d4de9a5e8411677b50422_16
  case_type: typical_negative
  step_type: generated
- operation_id: get_api_v1_audit_org_id_settings
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "customized",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/api/v1/audit/org_id/settings",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "basic",
        "X-Auth-Type": "openapi"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 401,
      "cel": ""
    }
  save: null
  description: 'Test 401 unauthorized access for get_api_v1_audit_org_id_settings
    with X-Auth-Method: basic, X-Auth-Type: openapi'
  max_retries: 0
  delay_after: 0
  name: test_401_get_api_v1_audit_org_id_settings_basic_openapi
  continue_on_unexpected: false
  stage: execute
  meta: '{}'
  generation_id: 9644ec3e2e7d4de9a5e8411677b50422
  order: 17
  case_id: 9644ec3e2e7d4de9a5e8411677b50422_17
  case_type: typical_negative
  step_type: generated
- operation_id: get_api_v1_audit_org_id_settings
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "customized",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/api/v1/audit/org_id/settings",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "basic",
        "X-Auth-Type": "console"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 401,
      "cel": ""
    }
  save: null
  description: 'Test 401 unauthorized access for get_api_v1_audit_org_id_settings
    with X-Auth-Method: basic, X-Auth-Type: console'
  max_retries: 0
  delay_after: 0
  name: test_401_get_api_v1_audit_org_id_settings_basic_console
  continue_on_unexpected: false
  stage: execute
  meta: '{}'
  generation_id: 9644ec3e2e7d4de9a5e8411677b50422
  order: 18
  case_id: 9644ec3e2e7d4de9a5e8411677b50422_18
  case_type: typical_negative
  step_type: generated
- operation_id: get_api_v1_audit_org_id_settings
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "customized",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/api/v1/audit/org_id/settings",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 401,
      "cel": ""
    }
  save: null
  description: 'Test 401 unauthorized access for get_api_v1_audit_org_id_settings
    with X-Auth-Method: digest'
  max_retries: 0
  delay_after: 0
  name: test_401_get_api_v1_audit_org_id_settings_digest
  continue_on_unexpected: false
  stage: execute
  meta: '{}'
  generation_id: 9644ec3e2e7d4de9a5e8411677b50422
  order: 19
  case_id: 9644ec3e2e7d4de9a5e8411677b50422_19
  case_type: typical_negative
  step_type: generated
- operation_id: get_api_v1_audit_org_id_settings
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "customized",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/api/v1/audit/org_id/settings",
      "path_params": {},
      "query_params": {},
      "headers": {
        "accept": "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9",
        "X-Auth-Method": "bearer"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 401,
      "cel": ""
    }
  save: null
  description: 'Test 401 unauthorized access for get_api_v1_audit_org_id_settings
    with X-Auth-Method: bearer'
  max_retries: 0
  delay_after: 0
  name: test_401_get_api_v1_audit_org_id_settings_bearer
  continue_on_unexpected: false
  stage: execute
  meta: '{}'
  generation_id: 9644ec3e2e7d4de9a5e8411677b50422
  order: 20
  case_id: 9644ec3e2e7d4de9a5e8411677b50422_20
  case_type: typical_negative
  step_type: generated
