scenario:
  id: 51af166ca05a429ab5adbc1ac53f0f2c
  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: dataflow_service.console.403
steps:
- operation_id: CreateConnProfile
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/dataflow/conn-profiles",
      "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 CreateConnProfile with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_createconnprofile_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 51af166ca05a429ab5adbc1ac53f0f2c
  order: 1
  case_id: 51af166ca05a429ab5adbc1ac53f0f2c_1
  case_type: typical_negative
  step_type: generated
- operation_id: GetIPWhiteList
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/dataflow/connectivity/ip-white-list",
      "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 GetIPWhiteList with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_getipwhitelist_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 51af166ca05a429ab5adbc1ac53f0f2c
  order: 2
  case_id: 51af166ca05a429ab5adbc1ac53f0f2c_2
  case_type: typical_negative
  step_type: generated
- operation_id: ValidateClusterConnectivity
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/dataflow/connectivity/validate/cluster",
      "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 ValidateClusterConnectivity with
    X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_validateclusterconnectivity_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 51af166ca05a429ab5adbc1ac53f0f2c
  order: 3
  case_id: 51af166ca05a429ab5adbc1ac53f0f2c_3
  case_type: typical_negative
  step_type: generated
- operation_id: ValidateRemoteDBConnectivity
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/dataflow/connectivity/validate/remote",
      "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 ValidateRemoteDBConnectivity with
    X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_validateremotedbconnectivity_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 51af166ca05a429ab5adbc1ac53f0f2c
  order: 4
  case_id: 51af166ca05a429ab5adbc1ac53f0f2c_4
  case_type: typical_negative
  step_type: generated
- operation_id: CreatePrivateLinkEndpoint
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v1/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/dataflow/private-links",
      "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 CreatePrivateLinkEndpoint with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_createprivatelinkendpoint_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 51af166ca05a429ab5adbc1ac53f0f2c
  order: 5
  case_id: 51af166ca05a429ab5adbc1ac53f0f2c_5
  case_type: typical_negative
  step_type: generated
- operation_id: GetPrivateLinkEndpoint
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v1/orgs/1369847559692509562/projects/1369847559694040704/clusters/10890824719153943215/dataflow/private-links/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 GetPrivateLinkEndpoint with X-Auth-Method:
    ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_getprivatelinkendpoint_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: 51af166ca05a429ab5adbc1ac53f0f2c
  order: 6
  case_id: 51af166ca05a429ab5adbc1ac53f0f2c_6
  case_type: typical_negative
  step_type: generated
