scenario:
  id: b6469669cb454e0d87d2cdb3c2d3fa21
  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_database_auditlog_service.console.403
steps:
- operation_id: DatabaseAuditLogService_ListAuditLogFilterRules
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682/auditLogFilterRules",
      "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 DatabaseAuditLogService_ListAuditLogFilterRules
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_databaseauditlogservice_listauditlogfilterrules_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: b6469669cb454e0d87d2cdb3c2d3fa21
  order: 1
  case_id: b6469669cb454e0d87d2cdb3c2d3fa21_1
  case_type: typical_negative
  step_type: generated
- operation_id: DatabaseAuditLogService_CreateAuditLogFilterRule
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "POST",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682/auditLogFilterRules",
      "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 DatabaseAuditLogService_CreateAuditLogFilterRule
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_databaseauditlogservice_createauditlogfilterrule_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: b6469669cb454e0d87d2cdb3c2d3fa21
  order: 2
  case_id: b6469669cb454e0d87d2cdb3c2d3fa21_2
  case_type: typical_negative
  step_type: generated
- operation_id: DatabaseAuditLogService_UpdateAuditLogFilterRule
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "PATCH",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682/auditLogFilterRules/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 DatabaseAuditLogService_UpdateAuditLogFilterRule
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_databaseauditlogservice_updateauditlogfilterrule_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: b6469669cb454e0d87d2cdb3c2d3fa21
  order: 3
  case_id: b6469669cb454e0d87d2cdb3c2d3fa21_3
  case_type: typical_negative
  step_type: generated
- operation_id: DatabaseAuditLogService_DeleteAuditLogFilterRule
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "DELETE",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682/auditLogFilterRules/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 DatabaseAuditLogService_DeleteAuditLogFilterRule
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_databaseauditlogservice_deleteauditlogfilterrule_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: b6469669cb454e0d87d2cdb3c2d3fa21
  order: 4
  case_id: b6469669cb454e0d87d2cdb3c2d3fa21_4
  case_type: typical_negative
  step_type: generated
- operation_id: DatabaseAuditLogService_GetAuditLogFilterRule
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682/auditLogFilterRules/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 DatabaseAuditLogService_GetAuditLogFilterRule
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_databaseauditlogservice_getauditlogfilterrule_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: b6469669cb454e0d87d2cdb3c2d3fa21
  order: 5
  case_id: b6469669cb454e0d87d2cdb3c2d3fa21_5
  case_type: typical_negative
  step_type: generated
- operation_id: DatabaseAuditLogService_GetAuditLogSetting
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "GET",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682/auditLogSetting",
      "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 DatabaseAuditLogService_GetAuditLogSetting
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_databaseauditlogservice_getauditlogsetting_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: b6469669cb454e0d87d2cdb3c2d3fa21
  order: 6
  case_id: b6469669cb454e0d87d2cdb3c2d3fa21_6
  case_type: typical_negative
  step_type: generated
- operation_id: DatabaseAuditLogService_UpdateAuditLogSetting
  request_type: http
  request: |-
    {
      "auth": {
        "auth_type": "bearer_token"
      },
      "method": "PATCH",
      "path": "/api/v2025/cloud/v1beta2/tidbs/10930976895836467682/auditLogSetting",
      "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 DatabaseAuditLogService_UpdateAuditLogSetting
    with X-Auth-Method: ''bearer'''
  max_retries: 0
  delay_after: 0
  name: test_403_databaseauditlogservice_updateauditlogsetting_bearer
  continue_on_unexpected: true
  stage: execute
  meta: '{}'
  generation_id: b6469669cb454e0d87d2cdb3c2d3fa21
  order: 7
  case_id: b6469669cb454e0d87d2cdb3c2d3fa21_7
  case_type: typical_negative
  step_type: generated
