scenario:
  id: d3fb1887f14b4481a119dceafa856451
  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: dm_service.console.403
steps:
- operation_id: ListDMJobSpecs
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/dataflow/dm/job-specs",
      "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 ListDMJobSpecs with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_listdmjobspecs_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: d3fb1887f14b4481a119dceafa856451
  order: 1
  case_id: d3fb1887f14b4481a119dceafa856451_1
  case_type: typical_negative
  step_type: generated
- operation_id: GetDMSupportedSources
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/dataflow/dm/supported-sources",
      "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 GetDMSupportedSources with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_getdmsupportedsources_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: d3fb1887f14b4481a119dceafa856451
  order: 2
  case_id: d3fb1887f14b4481a119dceafa856451_2
  case_type: typical_negative
  step_type: generated
- operation_id: GetDMCost
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/dataflow/dm/cost",
      "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 GetDMCost with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_getdmcost_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: d3fb1887f14b4481a119dceafa856451
  order: 3
  case_id: d3fb1887f14b4481a119dceafa856451_3
  case_type: typical_negative
  step_type: generated
- operation_id: ListDMJobs
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/dataflow/dm/jobs",
      "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 ListDMJobs with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_listdmjobs_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: d3fb1887f14b4481a119dceafa856451
  order: 4
  case_id: d3fb1887f14b4481a119dceafa856451_4
  case_type: typical_negative
  step_type: generated
- operation_id: CreateDMJob
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/dataflow/dm/jobs",
      "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 CreateDMJob with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_createdmjob_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: d3fb1887f14b4481a119dceafa856451
  order: 5
  case_id: d3fb1887f14b4481a119dceafa856451_5
  case_type: typical_negative
  step_type: generated
- operation_id: GetDMJob
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/dataflow/dm/jobs/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 GetDMJob with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_getdmjob_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: d3fb1887f14b4481a119dceafa856451
  order: 6
  case_id: d3fb1887f14b4481a119dceafa856451_6
  case_type: typical_negative
  step_type: generated
- operation_id: DeleteDMJob
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "DELETE",
      "path": "/api/v1/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/dataflow/dm/jobs/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 DeleteDMJob with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_deletedmjob_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: d3fb1887f14b4481a119dceafa856451
  order: 7
  case_id: d3fb1887f14b4481a119dceafa856451_7
  case_type: typical_negative
  step_type: generated
- operation_id: UpdateDMJob
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/dataflow/dm/jobs/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 UpdateDMJob with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_updatedmjob_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: d3fb1887f14b4481a119dceafa856451
  order: 8
  case_id: d3fb1887f14b4481a119dceafa856451_8
  case_type: typical_negative
  step_type: generated
- operation_id: ScaleUpDownJob
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/dataflow/dm/jobs/123/scale-up-down",
      "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 ScaleUpDownJob with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_scaleupdownjob_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: d3fb1887f14b4481a119dceafa856451
  order: 9
  case_id: d3fb1887f14b4481a119dceafa856451_9
  case_type: typical_negative
  step_type: generated
- operation_id: OperateDMJob
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "PUT",
      "path": "/api/v1/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/dataflow/dm/jobs/123/status",
      "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 OperateDMJob with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_operatedmjob_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: d3fb1887f14b4481a119dceafa856451
  order: 10
  case_id: d3fb1887f14b4481a119dceafa856451_10
  case_type: typical_negative
  step_type: generated
- operation_id: PrecheckJob
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/dataflow/dm/pre-check",
      "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 PrecheckJob with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_precheckjob_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: d3fb1887f14b4481a119dceafa856451
  order: 11
  case_id: d3fb1887f14b4481a119dceafa856451_11
  case_type: typical_negative
  step_type: generated
- operation_id: GetPrecheck
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/dataflow/dm/pre-check/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 GetPrecheck with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_getprecheck_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: d3fb1887f14b4481a119dceafa856451
  order: 12
  case_id: d3fb1887f14b4481a119dceafa856451_12
  case_type: typical_negative
  step_type: generated
- operation_id: CancelDMPrecheck
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "DELETE",
      "path": "/api/v1/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/dataflow/dm/pre-check/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 CancelDMPrecheck with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_canceldmprecheck_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: d3fb1887f14b4481a119dceafa856451
  order: 13
  case_id: d3fb1887f14b4481a119dceafa856451_13
  case_type: typical_negative
  step_type: generated
- operation_id: GetDMQuota
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/dataflow/dm/quota",
      "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 GetDMQuota with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_getdmquota_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: d3fb1887f14b4481a119dceafa856451
  order: 14
  case_id: d3fb1887f14b4481a119dceafa856451_14
  case_type: typical_negative
  step_type: generated
- operation_id: GetSourceTables
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/dataflow/dm/source-tables",
      "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 GetSourceTables with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_getsourcetables_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: d3fb1887f14b4481a119dceafa856451
  order: 15
  case_id: d3fb1887f14b4481a119dceafa856451_15
  case_type: typical_negative
  step_type: generated
