add audit logging to app registry endpoints

This commit is contained in:
Jimmy Zelinskie 2017-05-11 13:33:18 -04:00
parent f4f67c8c62
commit 4db789b656
7 changed files with 54 additions and 20 deletions

View file

@ -13,11 +13,11 @@ from data import database
from data.interfaces.verbs import pre_oci_model as model
from endpoints.common import route_show_if, parse_repository_name
from endpoints.decorators import anon_protect
from endpoints.trackhelper import track_and_log
from endpoints.v2.blob import BLOB_DIGEST_ROUTE
from image.appc import AppCImageFormatter
from image.docker.squashed import SquashedDockerImageFormatter
from storage import Storage
from util.audit import track_and_log
from util.http import exact_abort
from util.registry.filelike import wrap_with_handler
from util.registry.queuefile import QueueFile