scenario:
  id: a43aaa76b8294d14a6a16accf611e60e
  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: import_into_service.console.403
steps:
- operation_id: ListImportIntoTasks
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682/imports",
      "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 ListImportIntoTasks with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_listimportintotasks_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: a43aaa76b8294d14a6a16accf611e60e
  order: 1
  case_id: a43aaa76b8294d14a6a16accf611e60e_1
  case_type: typical_negative
  step_type: generated
- operation_id: CreateImportIntoTask
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682/imports",
      "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 CreateImportIntoTask with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_createimportintotask_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: a43aaa76b8294d14a6a16accf611e60e
  order: 2
  case_id: a43aaa76b8294d14a6a16accf611e60e_2
  case_type: typical_negative
  step_type: generated
- operation_id: GetImportIntoTask
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682/imports/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 GetImportIntoTask with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_getimportintotask_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: a43aaa76b8294d14a6a16accf611e60e
  order: 3
  case_id: a43aaa76b8294d14a6a16accf611e60e_3
  case_type: typical_negative
  step_type: generated
- operation_id: CancelImportIntoTask
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682/imports/123:cancel",
      "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 CancelImportIntoTask with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_cancelimportintotask_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: a43aaa76b8294d14a6a16accf611e60e
  order: 4
  case_id: a43aaa76b8294d14a6a16accf611e60e_4
  case_type: typical_negative
  step_type: generated
- operation_id: CheckDatabaseConnectivity
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682/imports:checkDatabaseConnectivity",
      "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 CheckDatabaseConnectivity with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_checkdatabaseconnectivity_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: a43aaa76b8294d14a6a16accf611e60e
  order: 5
  case_id: a43aaa76b8294d14a6a16accf611e60e_5
  case_type: typical_negative
  step_type: generated
- operation_id: CheckImportSource
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682/imports:checkSource",
      "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 CheckImportSource with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_checkimportsource_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: a43aaa76b8294d14a6a16accf611e60e
  order: 6
  case_id: a43aaa76b8294d14a6a16accf611e60e_6
  case_type: typical_negative
  step_type: generated
- operation_id: ImportIntoPrecheck
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682/imports: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 ImportIntoPrecheck with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_importintoprecheck_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: a43aaa76b8294d14a6a16accf611e60e
  order: 7
  case_id: a43aaa76b8294d14a6a16accf611e60e_7
  case_type: typical_negative
  step_type: generated
