scenario:
  id: 4144d66dd7bd4eb2a3d062e4c92c1d73
  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: ng_tidb_service.console.403
steps:
- operation_id: TidbService_ListTidbs
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2025/cloud/v1beta2/tidbs",
      "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 TidbService_ListTidbs with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_tidbservice_listtidbs_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 4144d66dd7bd4eb2a3d062e4c92c1d73
  order: 1
  case_id: 4144d66dd7bd4eb2a3d062e4c92c1d73_1
  case_type: typical_negative
  step_type: generated
- operation_id: TidbService_CreateTidb
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v2025/cloud/v1beta2/tidbs",
      "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 TidbService_CreateTidb with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_tidbservice_createtidb_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 4144d66dd7bd4eb2a3d062e4c92c1d73
  order: 2
  case_id: 4144d66dd7bd4eb2a3d062e4c92c1d73_2
  case_type: typical_negative
  step_type: generated
- operation_id: TidbService_UpdateBackupSetting
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "PATCH",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682/backupSetting",
      "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 TidbService_UpdateBackupSetting with
    X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_tidbservice_updatebackupsetting_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 4144d66dd7bd4eb2a3d062e4c92c1d73
  order: 3
  case_id: 4144d66dd7bd4eb2a3d062e4c92c1d73_3
  case_type: typical_negative
  step_type: generated
- operation_id: TidbService_UpdateTidb
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "PATCH",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682",
      "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 TidbService_UpdateTidb with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_tidbservice_updatetidb_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 4144d66dd7bd4eb2a3d062e4c92c1d73
  order: 4
  case_id: 4144d66dd7bd4eb2a3d062e4c92c1d73_4
  case_type: typical_negative
  step_type: generated
- operation_id: TidbService_DeleteTidb
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "DELETE",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682",
      "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 TidbService_DeleteTidb with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_tidbservice_deletetidb_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 4144d66dd7bd4eb2a3d062e4c92c1d73
  order: 5
  case_id: 4144d66dd7bd4eb2a3d062e4c92c1d73_5
  case_type: typical_negative
  step_type: generated
- operation_id: TidbService_GetTidb
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682",
      "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 TidbService_GetTidb with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_tidbservice_gettidb_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 4144d66dd7bd4eb2a3d062e4c92c1d73
  order: 6
  case_id: 4144d66dd7bd4eb2a3d062e4c92c1d73_6
  case_type: typical_negative
  step_type: generated
- operation_id: TidbService_GetBackupSetting
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682/backupSetting",
      "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 TidbService_GetBackupSetting with
    X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_tidbservice_getbackupsetting_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 4144d66dd7bd4eb2a3d062e4c92c1d73
  order: 7
  case_id: 4144d66dd7bd4eb2a3d062e4c92c1d73_7
  case_type: typical_negative
  step_type: generated
- operation_id: TidbService_ListTidbBackups
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682/backups",
      "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 TidbService_ListTidbBackups with
    X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_tidbservice_listtidbbackups_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 4144d66dd7bd4eb2a3d062e4c92c1d73
  order: 8
  case_id: 4144d66dd7bd4eb2a3d062e4c92c1d73_8
  case_type: typical_negative
  step_type: generated
- operation_id: TidbService_DeleteTidbBackup
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "DELETE",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682/backups/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 TidbService_DeleteTidbBackup with
    X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_tidbservice_deletetidbbackup_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 4144d66dd7bd4eb2a3d062e4c92c1d73
  order: 9
  case_id: 4144d66dd7bd4eb2a3d062e4c92c1d73_9
  case_type: typical_negative
  step_type: generated
- operation_id: TidbService_GetCloudProviderInfo
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682/cloudProviderInfo",
      "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 TidbService_GetCloudProviderInfo
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_tidbservice_getcloudproviderinfo_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 4144d66dd7bd4eb2a3d062e4c92c1d73
  order: 10
  case_id: 4144d66dd7bd4eb2a3d062e4c92c1d73_10
  case_type: typical_negative
  step_type: generated
- operation_id: TidbService_ResetRootPassword
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682:resetRootPassword",
      "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 TidbService_ResetRootPassword with
    X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_tidbservice_resetrootpassword_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 4144d66dd7bd4eb2a3d062e4c92c1d73
  order: 11
  case_id: 4144d66dd7bd4eb2a3d062e4c92c1d73_11
  case_type: typical_negative
  step_type: generated
- operation_id: TidbService_RestoreStatus
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682:restoreStatus",
      "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 TidbService_RestoreStatus with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_tidbservice_restorestatus_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 4144d66dd7bd4eb2a3d062e4c92c1d73
  order: 12
  case_id: 4144d66dd7bd4eb2a3d062e4c92c1d73_12
  case_type: typical_negative
  step_type: generated
- operation_id: TidbService_EstimatePrice
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v2025/cloud/v1beta2/tidbs:estimatePrice",
      "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 TidbService_EstimatePrice with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_tidbservice_estimateprice_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 4144d66dd7bd4eb2a3d062e4c92c1d73
  order: 13
  case_id: 4144d66dd7bd4eb2a3d062e4c92c1d73_13
  case_type: typical_negative
  step_type: generated
- operation_id: TidbService_RestoreTidb
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v2025/cloud/v1beta2/tidbs:restore",
      "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 TidbService_RestoreTidb with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_tidbservice_restoretidb_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 4144d66dd7bd4eb2a3d062e4c92c1d73
  order: 14
  case_id: 4144d66dd7bd4eb2a3d062e4c92c1d73_14
  case_type: typical_negative
  step_type: generated
