Skip to content

Commit

Permalink
feat(scan): add new prompt_injection test type (#159)
Browse files Browse the repository at this point in the history
closes #158
  • Loading branch information
aborovsky authored Jul 28, 2023
1 parent 5b01036 commit cdfd944
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/SecTester.Scan/Models/TestType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public enum TestType
OpenBuckets,
OpenDatabase,
Osi,
PromptInjection,
ProtoPollution,
RetireJs,
Rfi,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ public class MessageSerializerTests
new object[] { TestType.OpenBuckets, @"""open_buckets""" },
new object[] { TestType.OpenDatabase, @"""open_database""" },
new object[] { TestType.Osi, @"""osi""" },
new object[] { TestType.PromptInjection, @"""prompt_injection""" },
new object[] { TestType.ProtoPollution, @"""proto_pollution""" },
new object[] { TestType.RetireJs, @"""retire_js""" },
new object[] { TestType.Rfi, @"""rfi""" },
Expand Down

0 comments on commit cdfd944

Please sign in to comment.