scenario:
  id: 80c629a3dcc548989fbf48e69c49c04d
  context:
    auth:
      type: customized
    base_path: null
    host: cloud.staging.tidbapi.com
  description: need continue_on_unexpected and export unmatched case
  name: import_into_service.openapi.403
steps:
- operation_id: ListImportIntoTasks
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/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": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for ListImportIntoTasks with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_listimportintotasks_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 80c629a3dcc548989fbf48e69c49c04d
  order: 1
  case_id: 80c629a3dcc548989fbf48e69c49c04d_1
  case_type: typical_negative
  step_type: generated
- operation_id: CreateImportIntoTask
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "POST",
      "path": "/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": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for CreateImportIntoTask with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_createimportintotask_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 80c629a3dcc548989fbf48e69c49c04d
  order: 2
  case_id: 80c629a3dcc548989fbf48e69c49c04d_2
  case_type: typical_negative
  step_type: generated
- operation_id: GetImportIntoTask
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "GET",
      "path": "/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": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for GetImportIntoTask with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_getimportintotask_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 80c629a3dcc548989fbf48e69c49c04d
  order: 3
  case_id: 80c629a3dcc548989fbf48e69c49c04d_3
  case_type: typical_negative
  step_type: generated
- operation_id: CancelImportIntoTask
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "POST",
      "path": "/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": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for CancelImportIntoTask with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_cancelimportintotask_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 80c629a3dcc548989fbf48e69c49c04d
  order: 4
  case_id: 80c629a3dcc548989fbf48e69c49c04d_4
  case_type: typical_negative
  step_type: generated
- operation_id: CheckDatabaseConnectivity
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "POST",
      "path": "/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": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for CheckDatabaseConnectivity with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_checkdatabaseconnectivity_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 80c629a3dcc548989fbf48e69c49c04d
  order: 5
  case_id: 80c629a3dcc548989fbf48e69c49c04d_5
  case_type: typical_negative
  step_type: generated
- operation_id: CheckImportSource
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "POST",
      "path": "/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": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for CheckImportSource with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_checkimportsource_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 80c629a3dcc548989fbf48e69c49c04d
  order: 6
  case_id: 80c629a3dcc548989fbf48e69c49c04d_6
  case_type: typical_negative
  step_type: generated
- operation_id: ImportIntoPrecheck
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "digest",
        "content": {
          "public_key": "placeholder",
          "private_key": "placeholder"
        }
      },
      "method": "POST",
      "path": "/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": "digest"
      },
      "body": {}
    }
  expect: |-
    {
      "status_code": 403,
      "cel": ""
    }
  save: null
  description: 'Test 403 unauthorized access for ImportIntoPrecheck with X-Auth-Method:
    digest'
  max_retries: 0
  delay_after: 0
  name: test_403_importintoprecheck_digest_no_type
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 80c629a3dcc548989fbf48e69c49c04d
  order: 7
  case_id: 80c629a3dcc548989fbf48e69c49c04d_7
  case_type: typical_negative
  step_type: generated
