Add support for Quay's vulnerability tool
This commit is contained in:
parent
0f3db709ea
commit
a4c78ba99a
1 changed files with 4 additions and 0 deletions
|
@ -100,6 +100,10 @@ def __create_subtree(repo, structure, creator_username, parent, tag_map):
|
||||||
new_image.security_indexed_engine = maxsize
|
new_image.security_indexed_engine = maxsize
|
||||||
new_image.save()
|
new_image.save()
|
||||||
|
|
||||||
|
new_image.security_indexed = False
|
||||||
|
new_image.security_indexed_engine = maxsize
|
||||||
|
new_image.save()
|
||||||
|
|
||||||
creation_time = REFERENCE_DATE + timedelta(weeks=image_num) + timedelta(days=model_num)
|
creation_time = REFERENCE_DATE + timedelta(weeks=image_num) + timedelta(days=model_num)
|
||||||
command_list = SAMPLE_CMDS[image_num % len(SAMPLE_CMDS)]
|
command_list = SAMPLE_CMDS[image_num % len(SAMPLE_CMDS)]
|
||||||
command = json.dumps(command_list) if command_list else None
|
command = json.dumps(command_list) if command_list else None
|
||||||
|
|
Reference in a new issue