mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-24 01:27:49 +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 ...
|
||||
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