mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-27 04:35:16 +01:00
Merge pull request #2740 from reasonerjt/query-clair-db
enable security on jobservice scan api
This commit is contained in:
commit
9c8c79db43
@ -33,8 +33,7 @@ type ImageScanJob struct {
|
|||||||
|
|
||||||
// Prepare ...
|
// Prepare ...
|
||||||
func (isj *ImageScanJob) Prepare() {
|
func (isj *ImageScanJob) Prepare() {
|
||||||
//TODO Uncomment to enable security check.
|
isj.authenticate()
|
||||||
// isj.authenticate()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Post creates a scanner job and hand it to statemachine.
|
// Post creates a scanner job and hand it to statemachine.
|
||||||
|
Loading…
Reference in New Issue
Block a user