Artificer ForensicArtifacts Server
Project description
Getting Started
cd <directory containing this file>
$VENV/bin/pip install -e .
$VENV/bin/initialize_artificer_db development.ini
$VENV/bin/pserve development.ini
TODO Authentication Authoring Export Script Import Script
@view_config(route_name=’artifacts’, renderer=’json’) @view_config(route_name=’labels’, renderer=’json’) @view_config(route_name=’supported_os’, renderer=’json’) @view_config(route_name=’sources’, renderer=’json’) @view_config(request_method=’GET’, route_name=’artifact’, renderer=’json’) @view_config(request_method=’DELETE’, route_name=’artifact’, renderer=’json’) @view_config(request_method=’PUT’, route_name=’artifact’, renderer=’json’) @view_config(request_method=’POST’, route_name=’artifacts’, renderer=’json’) @view_config(route_name=’export_artifacts’, renderer=’string’) @view_config(route_name=’import_artifacts’, renderer=’json’) @view_config(route_name=’home’, renderer=’../templates/mytemplate.jinja2’)
config.add_route(‘home’, ‘/’) config.add_route(‘artifacts’, ‘api/artifacts’) config.add_route(‘artifact’, ‘api/artifacts/{id}’) config.add_route(‘labels’, ‘api/labels’) config.add_route(‘supported_os’, ‘api/supported_os’) config.add_route(‘sources’, ‘api/sources’) config.add_route(‘export_artifacts’, ‘api/export’) config.add_route(‘import_artifacts’, ‘api/import’)
0.0
Initial version