Skip to content

Commit

Permalink
feat(scan): add support for CVE test (#155)
Browse files Browse the repository at this point in the history
closes #154
  • Loading branch information
derevnjuk authored Jun 5, 2023
1 parent 76240d7 commit 611a328
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/SecTester.Scan/Models/TestType.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using System.Runtime.Serialization;

namespace SecTester.Scan.Models;

public enum TestType
Expand All @@ -10,6 +12,8 @@ public enum TestType
CommonFiles,
CookieSecurity,
Csrf,
[EnumMember(Value = "cve_test")]
Cve,
DateManipulation,
DefaultLoginLocation,
DirectoryListing,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public class MessageSerializerTests
new object[] { TestType.CommonFiles, @"""common_files""" },
new object[] { TestType.CookieSecurity, @"""cookie_security""" },
new object[] { TestType.Csrf, @"""csrf""" },
new object[] { TestType.Cve, @"""cve_test""" },
new object[] { TestType.DateManipulation, @"""date_manipulation""" },
new object[] { TestType.DefaultLoginLocation, @"""default_login_location""" },
new object[] { TestType.DirectoryListing, @"""directory_listing""" },
Expand Down

0 comments on commit 611a328

Please sign in to comment.