scenario:
  id: bb90bb5dcd0c4f0a9e96b8791859040c
  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_cluster_service.console.403
steps:
- operation_id: ClusterService_ListClusters
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2023/serverless/v1beta1/clusters",
      "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 ClusterService_ListClusters with
    X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_clusterservice_listclusters_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: bb90bb5dcd0c4f0a9e96b8791859040c
  order: 1
  case_id: bb90bb5dcd0c4f0a9e96b8791859040c_1
  case_type: typical_negative
  step_type: generated
- operation_id: ClusterService_CreateCluster
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v2023/serverless/v1beta1/clusters",
      "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 ClusterService_CreateCluster with
    X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_clusterservice_createcluster_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: bb90bb5dcd0c4f0a9e96b8791859040c
  order: 2
  case_id: bb90bb5dcd0c4f0a9e96b8791859040c_2
  case_type: typical_negative
  step_type: generated
- operation_id: ClusterService_DeleteCluster
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "DELETE",
      "path": "/api/v2023/serverless/v1beta1/clusters/10146796780603957734",
      "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 ClusterService_DeleteCluster with
    X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_clusterservice_deletecluster_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: bb90bb5dcd0c4f0a9e96b8791859040c
  order: 3
  case_id: bb90bb5dcd0c4f0a9e96b8791859040c_3
  case_type: typical_negative
  step_type: generated
- operation_id: ClusterService_GetCluster
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2023/serverless/v1beta1/clusters/10146796780603957734",
      "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 ClusterService_GetCluster with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_clusterservice_getcluster_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: bb90bb5dcd0c4f0a9e96b8791859040c
  order: 4
  case_id: bb90bb5dcd0c4f0a9e96b8791859040c_4
  case_type: typical_negative
  step_type: generated
- operation_id: ClusterService_PartialUpdateCluster
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "PATCH",
      "path": "/api/v2023/serverless/v1beta1/clusters/10146796780603957734",
      "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 ClusterService_PartialUpdateCluster
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_clusterservice_partialupdatecluster_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: bb90bb5dcd0c4f0a9e96b8791859040c
  order: 5
  case_id: bb90bb5dcd0c4f0a9e96b8791859040c_5
  case_type: typical_negative
  step_type: generated
- operation_id: ClusterService_ChangeRootPassword
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "PUT",
      "path": "/api/v2023/serverless/v1beta1/clusters/10146796780603957734/password",
      "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 ClusterService_ChangeRootPassword
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_clusterservice_changerootpassword_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: bb90bb5dcd0c4f0a9e96b8791859040c
  order: 6
  case_id: bb90bb5dcd0c4f0a9e96b8791859040c_6
  case_type: typical_negative
  step_type: generated
- operation_id: ClusterService_BatchCreateClusters
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v2023/serverless/v1beta1/clusters:batchCreate",
      "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 ClusterService_BatchCreateClusters
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_clusterservice_batchcreateclusters_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: bb90bb5dcd0c4f0a9e96b8791859040c
  order: 7
  case_id: bb90bb5dcd0c4f0a9e96b8791859040c_7
  case_type: typical_negative
  step_type: generated
- operation_id: ClusterService_BatchGetClusters
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2023/serverless/v1beta1/clusters:batchGet",
      "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 ClusterService_BatchGetClusters with
    X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_clusterservice_batchgetclusters_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: bb90bb5dcd0c4f0a9e96b8791859040c
  order: 8
  case_id: bb90bb5dcd0c4f0a9e96b8791859040c_8
  case_type: typical_negative
  step_type: generated
- operation_id: ClusterService_ListRegions
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2023/serverless/v1beta1/regions",
      "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 ClusterService_ListRegions with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_clusterservice_listregions_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: bb90bb5dcd0c4f0a9e96b8791859040c
  order: 9
  case_id: bb90bb5dcd0c4f0a9e96b8791859040c_9
  case_type: typical_negative
  step_type: generated
- operation_id: ClusterService_ListCloudProviders
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2023/serverless/v1beta1/regions:listCloudProviders",
      "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 ClusterService_ListCloudProviders
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_clusterservice_listcloudproviders_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: bb90bb5dcd0c4f0a9e96b8791859040c
  order: 10
  case_id: bb90bb5dcd0c4f0a9e96b8791859040c_10
  case_type: typical_negative
  step_type: generated
