Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecurityCheckController ¶
type SecurityCheckController struct {
beego.Controller
}
安全检测接口列表
func (*SecurityCheckController) SecurityCheck ¶
func (this *SecurityCheckController) SecurityCheck()
@Title SecurityCheck @Description Security check @Param token header string true "authToken" @Param account query string "admin" false "租户" @Param body body models.SecurityCheckList true "检查列表" @Success 200 {object} models.Result @router / [post]
func (*SecurityCheckController) SecurityCheck2 ¶
func (this *SecurityCheckController) SecurityCheck2()
@Title SecurityCheck2 @Description Security Check2 @Param token header string true "authToken" @Param isSystem query bool false false "系统检查" @Param body body models.SecurityCheckParams true "安全检查参数" @Success 200 {object} models.Result @router /v2 [post]
type SecurityLibController ¶
type SecurityLibController struct {
beego.Controller
}
func (*SecurityLibController) AddVulnLib ¶
func (this *SecurityLibController) AddVulnLib()
@Title AddKubeVulnLib @Description Add VulnerabilityLib Item @Param token header string true "authToken" @Param body body models.VulnerabilityLib false "漏洞库资料" @Success 200 {object} models.Result @router /vulnlib [post]
func (*SecurityLibController) DeleteVulnerabilityLib ¶
func (this *SecurityLibController) DeleteVulnerabilityLib()
@Title DeleteVulnerabilityLib @Description Delete VulnerabilityLib @Param token header string true "authToken" @Param id path string "" true "id" @Success 200 {object} models.VulnerabilityLib @router /vulnlib/:id [delete]
func (*SecurityLibController) GetVulnLib ¶
func (this *SecurityLibController) GetVulnLib()
@Title GetVulnerabilityLib @Description Get VulnerabilityLib @Param token header string true "authToken" @Param body body models.VulnerabilityLib false "漏洞库资料" @Success 200 {object} models.Result @Param from query int 0 false "from" @Param limit query int 20 false "limit" @router /vulnliblist [post]
func (*SecurityLibController) UpdateVulnLib ¶
func (this *SecurityLibController) UpdateVulnLib()
@Title UpdateVulnerabilityLib @Description Update VulnerabilityLib @Param token header string true "authToken" @Param id path string "" true "Id" @Param body body models.VulnerabilityLib false "漏洞库资料" @Success 200 {object} models.Result @router /vulnlib/:id [put]