Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BenchMarkLogController ¶
type BenchMarkLogController struct {
beego.Controller
}
Bench Mark Log api list
func (*BenchMarkLogController) GetBenchMarkLogList ¶
func (this *BenchMarkLogController) GetBenchMarkLogList()
@Title GetBenchMarkLog @Description Get BenchMarkLog List (暂不支持租户查询) @Param token header string true "authToken" @Param body body models.BenchMarkLog false "基线日志信息" @Param from query int 0 false "from" @Param limit query int 20 false "limit" @Success 200 {object} models.Result @router /bmls [post]
type DockerScanController ¶
type DockerScanController struct {
beego.Controller
}
docker scan log api list
func (*DockerScanController) GetDockerScan ¶
func (this *DockerScanController) GetDockerScan()
@Title GetDockerScan @Description Get DockerScan Log @Param token header string true "authToken" @Param body body models.DockerVulnerabilities false "docker漏洞扫描结果" @Param from query int 0 false "from" @Param limit query int 20 false "limit" @Success 200 {object} models.Result @router /dockerscan [post]
type IntrudeDetectLogController ¶
type IntrudeDetectLogController struct {
beego.Controller
}
Intrude Detect Log api list
func (*IntrudeDetectLogController) GetIntrudeDetectLogInfo ¶
func (this *IntrudeDetectLogController) GetIntrudeDetectLogInfo()
@Title GetIntrudeDetectLogInfo @Description Get IntrudeDetectLogInfo (查询主机/容器的入侵日志, 主机:targeType = host 容器:targeType = container) @Param token header string true "authToken" @Param hostId path string "" true "hostId" @Param body body models.IntrudeDetectLog false "入侵检测日志信息" @Param from query int 0 false "from" @Param limit query int 20 false "limit" @Success 200 {object} models.Result @router /intrudedetect/:hostId [post]
func (*IntrudeDetectLogController) GetIntrudeDetectLogList ¶
func (this *IntrudeDetectLogController) GetIntrudeDetectLogList()
@Title GetIntrudeDetectLog @Description Get IntrudeDetectLog List (1. 根据 TargeType = host 查询主机基线日志 2. 根据 TargeType = container 如果快速查询所有容器日志可以设置 ContianerId =All) @Param token header string true "authToken" @Param body body models.IntrudeDetectLog false "入侵检测日志信息" @Param from query int 0 false "from" @Param limit query int 20 false "limit" @Success 200 {object} models.Result @router /idls [post]
type KubeScanController ¶
type KubeScanController struct {
beego.Controller
}
kube scan log api list
func (*KubeScanController) GetKubeScan ¶
func (this *KubeScanController) GetKubeScan()
@Title GetKubeScan @Description Get kubescan Log @Param token header string true "authToken" @Param body body models.KubeScan false "集群漏洞扫描结果" @Param from query int 0 false "from" @Param limit query int 20 false "limit" @Success 200 {object} models.Result @router /kubecsan [post]
type SensitiveInfoController ¶
type SensitiveInfoController struct {
beego.Controller
}
SensitiveInfo Log api
type VirusLogController ¶
type VirusLogController struct {
beego.Controller
}
Virus Log api list
func (*VirusLogController) GetSensitiveInfoList ¶
func (this *VirusLogController) GetSensitiveInfoList()
@Title GetSensitiveInfo @Description Get SensitiveInfo List @Param token header string true "authToken" @Param body body models.SensitiveInfo false "敏感信息列表" @Param from query int 0 false "from" @Param limit query int 20 false "limit" @Success 200 {object} models.Result @router /sensitiveinfo [post]
func (*VirusLogController) GetVirusLogList ¶
func (this *VirusLogController) GetVirusLogList()
@Title GetVirusLog @Description Get Virus Log List @Param token header string true "authToken" @Param body body models.VirusScan false "病毒信息列表" @Param from query int 0 false "from" @Param limit query int 20 false "limit" @Success 200 {object} models.Result @router /viruslog [post]
func (*VirusLogController) GetVirusRecordList ¶
func (this *VirusLogController) GetVirusRecordList()
@Title GetVirusRecordList @Description Get Virus Record List @Param token header string true "authToken" @Param body body models.VirusScan false "病毒信息列表" @Param from query int 0 false "from" @Param limit query int 20 false "limit" @Success 200 {object} models.Result @router /virusrecord [post]
type VulnerabilitiesLogController ¶
type VulnerabilitiesLogController struct {
beego.Controller
}
Vulnerabilities Log api list
func (*VulnerabilitiesLogController) GetImageVulnerabilities ¶
func (this *VulnerabilitiesLogController) GetImageVulnerabilities()
@Title GetImageVulnerabilities @Description Get ImageVulnerabilities @Param token header string true "authToken" @Param body body models.ImageVulnerabilities false "漏洞" @Param from query int 0 false "from" @Param limit query int 20 false "limit" @Success 200 {object} models.Result @router /imageVulnerabilities [post]
func (*VulnerabilitiesLogController) GetVulnerabilities ¶
func (this *VulnerabilitiesLogController) GetVulnerabilities()
@Title GetVulnerabilities @Description Get Vulnerabilities @Param token header string true "authToken" @Param body body models.Vulnerabilities false "漏洞" @Param from query int 0 false "from" @Param limit query int 20 false "limit" @Success 200 {object} models.Result @router /vulnerabilities [post]
func (*VulnerabilitiesLogController) GetVulnerabilitiesScan ¶
func (this *VulnerabilitiesLogController) GetVulnerabilitiesScan()
@Title GetVulnerabilitiesScan @Description Get VulnerabilitiesScan @Param token header string true "authToken" @Param body body models.ImageVulnerabilities false "漏洞" @Param from query int 0 false "from" @Param limit query int 20 false "limit" @Success 200 {object} models.Result @router /vulnerabilitiesscan [post]
type WarningInfoController ¶
type WarningInfoController struct {
beego.Controller
}
Warning Info api list
func (*WarningInfoController) AddClientSub_Image_Safe ¶
func (this *WarningInfoController) AddClientSub_Image_Safe()
@Title AddClientSub_Image_Safe @Description Add Nats Subscribe topic for Image_Safe @Param token header string true "authToken" @Param libname path string "" true "Registry Name" @Success 200 {object} models.Result @router /warninginfo/add_sub_imagelib/:libname [post]
func (*WarningInfoController) DisposalMode ¶
func (this *WarningInfoController) DisposalMode()
@Title WarninginfoDisposal @Description Add Alarm Processing @Param token header string true "authToken" @Param body body models.DisposalMode true "DisposalMode" @Success 200 {object} models.Result @router /warninginfo/disposal [post]
func (*WarningInfoController) GetWarningInfoList ¶
func (this *WarningInfoController) GetWarningInfoList()
@Title GetWarningInfo @Description Get Warning Info List (暂不支持租户查询) @Param token header string true "authToken" @Param body body models.WarningInfo false "告警信息" @Param from query int 0 false "from" @Param limit query int 20 false "limit" @Success 200 {object} models.Result @router /warninginfo [post]
func (*WarningInfoController) UpdateWarningInfo ¶
func (this *WarningInfoController) UpdateWarningInfo()
@Title UpdateWarningInfo @Description Update WarningInfo @Param token header string true "authToken" @Param id path string "" true "id" @Param body body models.WarningInfo false "WarningInfo" @Success 200 {object} models.Result @router /warninginfo/:id [put]