Skip to main content

同步检测状态

当您的安全检测服务收到AtomGit平台的检测通知后需要调用此接口将检测状态同步到AtomGit

Header Parameters
  • Authorization required

    私人token | app token(ats)(需以Bearer加空格开头)

Request Body
  • toolId string

    检测应用id

  • toolName string

    检测应用名称

  • toolVersion string

    检测应用版本

  • repositoryId string

    仓库id

  • scanType string

    触发类型,eg:Webhook

  • scanNumber string

    触发编号,如webhook的id:xxxxxxxxxxxxxx

  • branch string

    分支名

  • commitId string

    commitId

Responses

操作成功

POST /security/scan/status

Request

Base URL
https://api.atomgit.com
Authorization — header required
Body
curl -L -X POST 'https://api.atomgit.com/security/scan/status' \
-H 'Content-Type: application/json' \
--data-raw ''