scenario:
  id: 186acaf163d34298adb9415440d16610
  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_branch_service.console.403
steps:
- operation_id: ListBranches
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/branches",
      "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 ListBranches with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_listbranches_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 186acaf163d34298adb9415440d16610
  order: 1
  case_id: 186acaf163d34298adb9415440d16610_1
  case_type: typical_negative
  step_type: generated
- operation_id: CreateBranch
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/branches",
      "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 CreateBranch with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_createbranch_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 186acaf163d34298adb9415440d16610
  order: 2
  case_id: 186acaf163d34298adb9415440d16610_2
  case_type: typical_negative
  step_type: generated
- operation_id: GetBranch
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/branches/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 GetBranch with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_getbranch_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 186acaf163d34298adb9415440d16610
  order: 3
  case_id: 186acaf163d34298adb9415440d16610_3
  case_type: typical_negative
  step_type: generated
- operation_id: DeleteBranch
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "DELETE",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/branches/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 DeleteBranch with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_deletebranch_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 186acaf163d34298adb9415440d16610
  order: 4
  case_id: 186acaf163d34298adb9415440d16610_4
  case_type: typical_negative
  step_type: generated
- operation_id: UpdateBranch
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "PATCH",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/branches/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 UpdateBranch with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_updatebranch_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 186acaf163d34298adb9415440d16610
  order: 5
  case_id: 186acaf163d34298adb9415440d16610_5
  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/branches/123/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: 186acaf163d34298adb9415440d16610
  order: 6
  case_id: 186acaf163d34298adb9415440d16610_6
  case_type: typical_negative
  step_type: generated
- operation_id: ChangePassword
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "PUT",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/branches/123/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 ChangePassword with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_changepassword_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 186acaf163d34298adb9415440d16610
  order: 7
  case_id: 186acaf163d34298adb9415440d16610_7
  case_type: typical_negative
  step_type: generated
- operation_id: ResetBranch
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/serverless/orgs/1369847559692509562/projects/1369847559694040592/clusters/10179628114637936298/branches/123:reset",
      "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 ResetBranch with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_resetbranch_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 186acaf163d34298adb9415440d16610
  order: 8
  case_id: 186acaf163d34298adb9415440d16610_8
  case_type: typical_negative
  step_type: generated
