scenario:
  id: f4e6b34abffc4a939b3245eb2c91ca3a
  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: ng_log_redaction_policy_service.console.403
steps:
- operation_id: LogRedactionPolicyService_GetLogRedactionPolicy
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682/logRedactionPolicy",
      "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 LogRedactionPolicyService_GetLogRedactionPolicy
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_logredactionpolicyservice_getlogredactionpolicy_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: f4e6b34abffc4a939b3245eb2c91ca3a
  order: 1
  case_id: f4e6b34abffc4a939b3245eb2c91ca3a_1
  case_type: typical_negative
  step_type: generated
- operation_id: LogRedactionPolicyService_UpdateLogRedactionPolicy
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "PATCH",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682/logRedactionPolicy",
      "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 LogRedactionPolicyService_UpdateLogRedactionPolicy
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_logredactionpolicyservice_updatelogredactionpolicy_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: f4e6b34abffc4a939b3245eb2c91ca3a
  order: 2
  case_id: f4e6b34abffc4a939b3245eb2c91ca3a_2
  case_type: typical_negative
  step_type: generated
