scenario:
  id: 06585d91a75f46a9bf307790d8c35f83
  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_export_service.console.403
steps:
- operation_id: ExportService_ListExports
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/exports",
      "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 ExportService_ListExports with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_exportservice_listexports_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 06585d91a75f46a9bf307790d8c35f83
  order: 1
  case_id: 06585d91a75f46a9bf307790d8c35f83_1
  case_type: typical_negative
  step_type: generated
- operation_id: ExportService_CreateExport
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/exports",
      "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 ExportService_CreateExport with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_exportservice_createexport_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 06585d91a75f46a9bf307790d8c35f83
  order: 2
  case_id: 06585d91a75f46a9bf307790d8c35f83_2
  case_type: typical_negative
  step_type: generated
- operation_id: ExportService_GetExport
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/exports/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 ExportService_GetExport with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_exportservice_getexport_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 06585d91a75f46a9bf307790d8c35f83
  order: 3
  case_id: 06585d91a75f46a9bf307790d8c35f83_3
  case_type: typical_negative
  step_type: generated
- operation_id: ExportService_DeleteExport
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "DELETE",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/exports/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 ExportService_DeleteExport with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_exportservice_deleteexport_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 06585d91a75f46a9bf307790d8c35f83
  order: 4
  case_id: 06585d91a75f46a9bf307790d8c35f83_4
  case_type: typical_negative
  step_type: generated
- operation_id: ExportService_CancelExport
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/exports/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 ExportService_CancelExport with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_exportservice_cancelexport_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 06585d91a75f46a9bf307790d8c35f83
  order: 5
  case_id: 06585d91a75f46a9bf307790d8c35f83_5
  case_type: typical_negative
  step_type: generated
- operation_id: ExportService_ParseTableFilter
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298:parseFilter",
      "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 ExportService_ParseTableFilter with
    X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_exportservice_parsetablefilter_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 06585d91a75f46a9bf307790d8c35f83
  order: 6
  case_id: 06585d91a75f46a9bf307790d8c35f83_6
  case_type: typical_negative
  step_type: generated
