scenario:
  id: d76e079211064efc9dcf51b96913f85a
  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_br_service.console.403
steps:
- operation_id: GetBackupRetention
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/backup_retention",
      "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 GetBackupRetention with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_getbackupretention_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: d76e079211064efc9dcf51b96913f85a
  order: 1
  case_id: d76e079211064efc9dcf51b96913f85a_1
  case_type: typical_negative
  step_type: generated
- operation_id: BackupRestoreService_ListBackups
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/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 BackupRestoreService_ListBackups
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_backuprestoreservice_listbackups_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: d76e079211064efc9dcf51b96913f85a
  order: 2
  case_id: d76e079211064efc9dcf51b96913f85a_2
  case_type: typical_negative
  step_type: generated
- operation_id: BackupRestoreService_GetBackup
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/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 BackupRestoreService_GetBackup with
    X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_backuprestoreservice_getbackup_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: d76e079211064efc9dcf51b96913f85a
  order: 3
  case_id: d76e079211064efc9dcf51b96913f85a_3
  case_type: typical_negative
  step_type: generated
- operation_id: BackupRestoreService_GetRestoreProgress
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/latest_restore_progress",
      "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 BackupRestoreService_GetRestoreProgress
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_backuprestoreservice_getrestoreprogress_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: d76e079211064efc9dcf51b96913f85a
  order: 4
  case_id: d76e079211064efc9dcf51b96913f85a_4
  case_type: typical_negative
  step_type: generated
- operation_id: BackupRestoreService_Restore
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters: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 BackupRestoreService_Restore with
    X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_backuprestoreservice_restore_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: d76e079211064efc9dcf51b96913f85a
  order: 5
  case_id: d76e079211064efc9dcf51b96913f85a_5
  case_type: typical_negative
  step_type: generated
