scenario:
  id: bc9784367862468293b848aa18c9b550
  context:
    auth:
      type: customized
    base_path: null
    host: dedicated.staging.tidbapi.com
  description: need continue_on_unexpected and export unmatched case
  name: backup_service.openapi.403
steps:
- operation_id: ListBackups
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/v1beta1/backups",
      "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": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for ListBackups with X-Auth-Method: digest'
  max_retries: 0
  delay_after: 0
  name: test_403_listbackups_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: bc9784367862468293b848aa18c9b550
  order: 1
  case_id: bc9784367862468293b848aa18c9b550_1
  case_type: typical_negative
  step_type: generated
- operation_id: GetBackupExportProfile
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/v1beta1/backups/123/exportProfile",
      "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": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for GetBackupExportProfile with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_getbackupexportprofile_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: bc9784367862468293b848aa18c9b550
  order: 2
  case_id: bc9784367862468293b848aa18c9b550_2
  case_type: typical_negative
  step_type: generated
- operation_id: ListBackupExports
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/v1beta1/backups/123/exports",
      "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": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for ListBackupExports with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_listbackupexports_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: bc9784367862468293b848aa18c9b550
  order: 3
  case_id: bc9784367862468293b848aa18c9b550_3
  case_type: typical_negative
  step_type: generated
- operation_id: CreateBackupExport
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "POST",
      "path": "/v1beta1/backups/123/exports",
      "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": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for CreateBackupExport with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_createbackupexport_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: bc9784367862468293b848aa18c9b550
  order: 4
  case_id: bc9784367862468293b848aa18c9b550_4
  case_type: typical_negative
  step_type: generated
- operation_id: GetBackupExport
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/v1beta1/backups/123/exports/123",
      "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": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for GetBackupExport with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_getbackupexport_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: bc9784367862468293b848aa18c9b550
  order: 5
  case_id: bc9784367862468293b848aa18c9b550_5
  case_type: typical_negative
  step_type: generated
- operation_id: CancelBackupExport
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "POST",
      "path": "/v1beta1/backups/123/exports/123:cancel",
      "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": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for CancelBackupExport with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_cancelbackupexport_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: bc9784367862468293b848aa18c9b550
  order: 6
  case_id: bc9784367862468293b848aa18c9b550_6
  case_type: typical_negative
  step_type: generated
