scenario:
  id: 944f3fcbc7f949f8b49483de39d412da
  context:
    auth:
      type: customized
    base_path: null
    host: us-west-2.staging.shared.aws.tidbcloud.com
  description: need continue_on_unexpected and export unmatched case
  name: serverless_auditlog_serivce.console.403
steps:
- operation_id: DatabaseAuditLogService_GetAuditLogConfig
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/auditLog/config",
      "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": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for DatabaseAuditLogService_GetAuditLogConfig
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_databaseauditlogservice_getauditlogconfig_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 944f3fcbc7f949f8b49483de39d412da
  order: 1
  case_id: 944f3fcbc7f949f8b49483de39d412da_1
  case_type: typical_negative
  step_type: generated
- operation_id: DatabaseAuditLogService_UpdateAuditLogConfig
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "PATCH",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/auditLog/config",
      "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": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for DatabaseAuditLogService_UpdateAuditLogConfig
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_databaseauditlogservice_updateauditlogconfig_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 944f3fcbc7f949f8b49483de39d412da
  order: 2
  case_id: 944f3fcbc7f949f8b49483de39d412da_2
  case_type: typical_negative
  step_type: generated
- operation_id: DatabaseAuditLogService_PreCheckAuditLogConfig
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/auditLog/config:precheck",
      "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": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for DatabaseAuditLogService_PreCheckAuditLogConfig
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_databaseauditlogservice_precheckauditlogconfig_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 944f3fcbc7f949f8b49483de39d412da
  order: 3
  case_id: 944f3fcbc7f949f8b49483de39d412da_3
  case_type: typical_negative
  step_type: generated
- operation_id: DatabaseAuditLogService_ListAuditLogFiles
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/auditLog/files",
      "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": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for DatabaseAuditLogService_ListAuditLogFiles
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_databaseauditlogservice_listauditlogfiles_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 944f3fcbc7f949f8b49483de39d412da
  order: 4
  case_id: 944f3fcbc7f949f8b49483de39d412da_4
  case_type: typical_negative
  step_type: generated
- operation_id: DatabaseAuditLogService_DownloadAuditLogFiles
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/auditLog/files:download",
      "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": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for DatabaseAuditLogService_DownloadAuditLogFiles
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_databaseauditlogservice_downloadauditlogfiles_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 944f3fcbc7f949f8b49483de39d412da
  order: 5
  case_id: 944f3fcbc7f949f8b49483de39d412da_5
  case_type: typical_negative
  step_type: generated
- operation_id: DatabaseAuditLogService_ListAuditLogFilterRules
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/auditLog/filterRules",
      "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": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for DatabaseAuditLogService_ListAuditLogFilterRules
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_databaseauditlogservice_listauditlogfilterrules_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 944f3fcbc7f949f8b49483de39d412da
  order: 6
  case_id: 944f3fcbc7f949f8b49483de39d412da_6
  case_type: typical_negative
  step_type: generated
- operation_id: DatabaseAuditLogService_CreateAuditLogFilterRule
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/auditLog/filterRules",
      "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": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for DatabaseAuditLogService_CreateAuditLogFilterRule
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_databaseauditlogservice_createauditlogfilterrule_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 944f3fcbc7f949f8b49483de39d412da
  order: 7
  case_id: 944f3fcbc7f949f8b49483de39d412da_7
  case_type: typical_negative
  step_type: generated
- operation_id: DatabaseAuditLogService_GetAuditLogFilterRule
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/auditLog/filterRules/123",
      "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": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for DatabaseAuditLogService_GetAuditLogFilterRule
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_databaseauditlogservice_getauditlogfilterrule_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 944f3fcbc7f949f8b49483de39d412da
  order: 8
  case_id: 944f3fcbc7f949f8b49483de39d412da_8
  case_type: typical_negative
  step_type: generated
- operation_id: DatabaseAuditLogService_DeleteAuditLogFilterRule
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "DELETE",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/auditLog/filterRules/123",
      "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": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for DatabaseAuditLogService_DeleteAuditLogFilterRule
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_databaseauditlogservice_deleteauditlogfilterrule_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 944f3fcbc7f949f8b49483de39d412da
  order: 9
  case_id: 944f3fcbc7f949f8b49483de39d412da_9
  case_type: typical_negative
  step_type: generated
- operation_id: DatabaseAuditLogService_UpdateAuditLogFilterRule
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "PATCH",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/auditLog/filterRules/123",
      "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": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for DatabaseAuditLogService_UpdateAuditLogFilterRule
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_databaseauditlogservice_updateauditlogfilterrule_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 944f3fcbc7f949f8b49483de39d412da
  order: 10
  case_id: 944f3fcbc7f949f8b49483de39d412da_10
  case_type: typical_negative
  step_type: generated
