scenario:
  id: 0b6f12858bca41fca303a43c9abf4c27
  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: AdviseIndexes
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/advise_indexes",
      "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 AdviseIndexes with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_adviseindexes_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 0b6f12858bca41fca303a43c9abf4c27
  order: 1
  case_id: 0b6f12858bca41fca303a43c9abf4c27_1
  case_type: typical_negative
  step_type: generated
- operation_id: ApplyAdvice
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/apply_advice",
      "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 ApplyAdvice with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_applyadvice_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 0b6f12858bca41fca303a43c9abf4c27
  order: 2
  case_id: 0b6f12858bca41fca303a43c9abf4c27_2
  case_type: typical_negative
  step_type: generated
- operation_id: CloseAdvice
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/close_advice",
      "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 CloseAdvice with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_closeadvice_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 0b6f12858bca41fca303a43c9abf4c27
  order: 3
  case_id: 0b6f12858bca41fca303a43c9abf4c27_3
  case_type: typical_negative
  step_type: generated
- operation_id: ListDatabases
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/databases",
      "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 ListDatabases with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_listdatabases_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 0b6f12858bca41fca303a43c9abf4c27
  order: 4
  case_id: 0b6f12858bca41fca303a43c9abf4c27_4
  case_type: typical_negative
  step_type: generated
- operation_id: CreateDatabase
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/databases",
      "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 CreateDatabase with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_createdatabase_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 0b6f12858bca41fca303a43c9abf4c27
  order: 5
  case_id: 0b6f12858bca41fca303a43c9abf4c27_5
  case_type: typical_negative
  step_type: generated
- operation_id: ListIndexAdvices
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/index_advices",
      "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 ListIndexAdvices with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_listindexadvices_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 0b6f12858bca41fca303a43c9abf4c27
  order: 6
  case_id: 0b6f12858bca41fca303a43c9abf4c27_6
  case_type: typical_negative
  step_type: generated
- operation_id: GetIndexAdvice
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/index_advices/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 GetIndexAdvice with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_getindexadvice_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 0b6f12858bca41fca303a43c9abf4c27
  order: 7
  case_id: 0b6f12858bca41fca303a43c9abf4c27_7
  case_type: typical_negative
  step_type: generated
- operation_id: GetIndexAdviceSummary
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/index_advices_summary",
      "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 GetIndexAdviceSummary with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_getindexadvicesummary_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 0b6f12858bca41fca303a43c9abf4c27
  order: 8
  case_id: 0b6f12858bca41fca303a43c9abf4c27_8
  case_type: typical_negative
  step_type: generated
