Chaitin Tech log/attack API

The log/attack API from Chaitin Tech — 2 operation(s) for log/attack.

Operations 2

GET /open/record/:id get attack log detail
GET /open/records get attack logs

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/chaitin-log-attack-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

chaitin-log-attack-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: APISec Management account Log/attack API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
servers:
- url: https://docs.waf.chaitin.com
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: log/attack
paths:
  /open/record/:id:
    get:
      produces:
      - application/json
      tags:
      - log/attack
      summary: get attack log detail
      parameters:
      - type: string
        description: log id
        name: id
        in: path
        required: true
        x-cli-description: 资源 ID
      responses:
        '200':
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/response.JSONBody'
            - type: object
              properties:
                data:
                  $ref: '#/definitions/model.DetectLog'
      x-cli-summary: 查看攻击日志详情
  /open/records:
    get:
      produces:
      - application/json
      tags:
      - log/attack
      summary: get attack logs
      parameters:
      - type: string
        name: action
        in: query
        x-cli-description: 动作类型:0-放行 1-阻断 2-挑战 3-认证防护 4-混淆 5-等待室
      - type: string
        name: attack_type
        in: query
        x-cli-description: 攻击类型
      - type: integer
        name: end
        in: query
        x-cli-description: 结束时间戳(秒)
      - type: string
        name: event_id
        in: query
        x-cli-description: 事件 ID
      - type: string
        name: host
        in: query
        x-cli-description: 域名
      - type: string
        name: ip
        in: query
        x-cli-description: IP 地址
      - type: string
        name: ja4_fingerprint
        in: query
        x-cli-description: JA4 指纹
      - minimum: 1
        type: integer
        name: page
        in: query
        x-cli-description: 页码
      - maximum: 100
        minimum: 1
        type: integer
        name: page_size
        in: query
        x-cli-description: 每页数量
      - type: string
        name: port
        in: query
        x-cli-description: 端口
      - type: integer
        name: start
        in: query
        x-cli-description: 开始时间戳(秒)
      - type: string
        name: url
        in: query
        x-cli-description: URL 路径
      responses:
        '200':
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/response.JSONBody'
            - type: object
              properties:
                data:
                  $ref: '#/definitions/record.GetDetectLogListRes'
      x-cli-summary: 查看攻击日志列表
definitions:
  response.JSONBody:
    type: object
    properties:
      data: {}
      err:
        type: string
      msg:
        type: string
  record.GetDetectLogListRes:
    type: object
    properties:
      data:
        type: array
        items:
          $ref: '#/definitions/model.DetectLog'
      total:
        type: integer
  model.DetectLog:
    type: object
    properties:
      action:
        description: '0: 放行, 1: 阻断'
        type: integer
      attack_type:
        type: integer
      city:
        type: string
      country:
        type: string
      created_at:
        type: string
      decode_path:
        type: string
      dst_ip:
        type: string
      dst_port:
        type: integer
      eventId:
        type: string
      event_id:
        description: to eliminate ambiguous
        type: string
      host:
        type: string
      id:
        type: integer
      ja4_fingerprint:
        type: string
      lat:
        type: string
      lng:
        type: string
      location:
        type: string
      method:
        type: string
      module:
        type: string
      payload:
        type: string
      policy_name:
        type: string
      protocol:
        type: integer
      province:
        type: string
      query_string:
        type: string
      reason:
        type: string
      req_body:
        type: string
      req_header:
        type: string
      risk_level:
        type: integer
      rsp_body:
        type: string
      rsp_header:
        type: string
      rule_id:
        type: string
      rule_id_list:
        type: array
        items:
          type: string
      short_rule_id:
        type: string
      site_uuid:
        type: string
      socket_ip:
        type: string
      src_ip:
        type: string
      src_port:
        type: integer
      status_code:
        type: integer
      timestamp:
        type: integer
      updated_at:
        type: string
      url_path:
        type: string
      website:
        type: string