diff --git a/gateway/main/urls.py b/gateway/main/urls.py index 27f38c5eb..c6a4cb4b8 100644 --- a/gateway/main/urls.py +++ b/gateway/main/urls.py @@ -17,6 +17,7 @@ from django.conf.urls.static import static from django.contrib import admin from django.urls import path, include, re_path +from django.views.generic import TemplateView from rest_framework import routers from api.views import KeycloakLogin, KeycloakUsersView @@ -36,6 +37,7 @@ path("liveness/", probes.views.liveness, name="liveness"), path("", include("django_prometheus.urls")), re_path(r"^api/v1/", include(("api.v1.urls", "api"), namespace="v1")), + path("", TemplateView.as_view(template_name="DomainVerification.html")), ] if settings.DEBUG: diff --git a/gateway/templates/DomainVerification.html b/gateway/templates/DomainVerification.html new file mode 100644 index 000000000..cd8af43e4 --- /dev/null +++ b/gateway/templates/DomainVerification.html @@ -0,0 +1 @@ +
HCL AppScan on Cloud Verification File


===============================
Important: Do not edit this file in any way!
===============================

This file is required in order to verify your permission to scan a domain with ASoC.

To use this file, please do the following:When ASoC detects this file in the root folder, the scan will be allowed to proceed.

If you experience any difficulties, please contact Support at:
https://support.hcltechsw.com/csm \ No newline at end of file