mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 11:23:48 -05:00
12 lines
442 B
Python
12 lines
442 B
Python
from flask import redirect
|
|
|
|
from app.main import main
|
|
|
|
|
|
@main.route("/.well-known/security.txt", methods=["GET"])
|
|
@main.route("/security.txt", methods=["GET"])
|
|
def security_policy():
|
|
# See GDS Way security policy which this implements
|
|
# https://gds-way.cloudapps.digital/standards/vulnerability-disclosure.html#vulnerability-disclosure-and-security-txt
|
|
return redirect("https://vdp.cabinetoffice.gov.uk/.well-known/security.txt")
|