mirror of
https://github.com/goharbor/harbor
synced 2025-04-15 20:30:36 +00: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 ...
|
||||
func (isj *ImageScanJob) Prepare() {
|
||||
//TODO Uncomment to enable security check.
|
||||
// isj.authenticate()
|
||||
isj.authenticate()
|
||||
}
|
||||
|
||||
// Post creates a scanner job and hand it to statemachine.
|
||||
|
|
Loading…
Reference in New Issue
Block a user