Ejemplo n.º 1
0
def list_stacks_reports(frequency='weekly'):
    """
    Endpoint to fetch the list of generated stacks reports.

    The list is fetched based on the frequency which is either weekly or monthly.
    """
    return flask.jsonify(_s3_helper.list_objects(frequency))
Ejemplo n.º 2
0
def list_sentry_reports():
    """Endpoint to fetch the list of generated sentry reports."""
    return flask.jsonify(_s3_helper.list_objects("sentry-error-data"))
Ejemplo n.º 3
0
def list_ingestion_reports():
    """Endpoint to fetch the list of generated ingestion reports."""
    return flask.jsonify(_s3_helper.list_objects("ingestion-data/epv"))