From c1f509c06c892133606f4d08045e4144ea7a113b Mon Sep 17 00:00:00 2001 From: david-kalachyan <106673743+david-kalachyan@users.noreply.github.com> Date: Tue, 1 Aug 2023 17:24:57 +0400 Subject: [PATCH] fix(scan): deprecate `dom_xss` test (#162) fixes #156 --- src/SecTester.Scan/Models/TestType.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/SecTester.Scan/Models/TestType.cs b/src/SecTester.Scan/Models/TestType.cs index ebec46b..35e7699 100644 --- a/src/SecTester.Scan/Models/TestType.cs +++ b/src/SecTester.Scan/Models/TestType.cs @@ -1,3 +1,4 @@ +using System; using System.Runtime.Serialization; namespace SecTester.Scan.Models; @@ -18,9 +19,7 @@ public enum TestType DateManipulation, DefaultLoginLocation, DirectoryListing, - /** - * @deprecated Use TestType.XSS instead - */ + [Obsolete("Use TestType.XSS instead")] DomXss, EmailInjection, ExposedCouchDbApis,