scenario:
  id: 2aaab5ecb64e4a93ae6b1aa7ba072afb
  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_backup_service.console.403
steps:
- operation_id: BackupService_ListBackups
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2025/cloud/v1beta2/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 BackupService_ListBackups with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_backupservice_listbackups_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 2aaab5ecb64e4a93ae6b1aa7ba072afb
  order: 1
  case_id: 2aaab5ecb64e4a93ae6b1aa7ba072afb_1
  case_type: typical_negative
  step_type: generated
- operation_id: BackupService_DeleteBackup
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "DELETE",
      "path": "/api/v2025/cloud/v1beta2/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 BackupService_DeleteBackup with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_backupservice_deletebackup_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 2aaab5ecb64e4a93ae6b1aa7ba072afb
  order: 2
  case_id: 2aaab5ecb64e4a93ae6b1aa7ba072afb_2
  case_type: typical_negative
  step_type: generated
- operation_id: BackupService_ListDeletedTidbs
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2025/cloud/v1beta2/backups:listDeletedTidbs",
      "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 BackupService_ListDeletedTidbs with
    X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_backupservice_listdeletedtidbs_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 2aaab5ecb64e4a93ae6b1aa7ba072afb
  order: 3
  case_id: 2aaab5ecb64e4a93ae6b1aa7ba072afb_3
  case_type: typical_negative
  step_type: generated
