Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,14 @@ if ! gen_redaction_output="$(python utils/scripts/gen_redaction_cassettes.py $ge
exit 1
fi

echo "Checking AI Guard extra_tags fixtures..."
if ! gen_extra_tags_output="$(python utils/scripts/gen_extra_tags_cassettes.py $gen_redaction_args 2>&1)"; then
echo "$gen_extra_tags_output"
echo "AI Guard extra_tags fixtures are out of date or invalid. Regenerate them with"
echo "python utils/scripts/gen_extra_tags_cassettes.py 💥 💔 💥"
exit 1
fi

echo "Running shellcheck checks..."
if ! ./utils/scripts/shellcheck.sh; then
echo "shellcheck checks failed. Please fix the errors above. 💥 💔 💥"
Expand Down
2 changes: 2 additions & 0 deletions manifests/cpp_httpd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ manifest:
tests/ai_guard/test_ai_guard_sdk.py::Test_ClientIPTagsCollected: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_ContentParts: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_Evaluation: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_ExtraTags: missing_feature (APPSEC-70724)
tests/ai_guard/test_ai_guard_sdk.py::Test_ExtraTagsFailSafe: missing_feature (APPSEC-70724)
tests/ai_guard/test_ai_guard_sdk.py::Test_Full_Response_And_Tags: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_NoRedaction: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_RedactedMessagesInSDKResponse: missing_feature
Expand Down
2 changes: 2 additions & 0 deletions manifests/cpp_nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ manifest:
tests/ai_guard/test_ai_guard_sdk.py::Test_ClientIPTagsCollected: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_ContentParts: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_Evaluation: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_ExtraTags: missing_feature (APPSEC-70724)
tests/ai_guard/test_ai_guard_sdk.py::Test_ExtraTagsFailSafe: missing_feature (APPSEC-70724)
tests/ai_guard/test_ai_guard_sdk.py::Test_Full_Response_And_Tags: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_NoRedaction: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_RedactedMessagesInSDKResponse: missing_feature
Expand Down
2 changes: 2 additions & 0 deletions manifests/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ manifest:
tests/ai_guard/test_ai_guard_sdk.py::Test_ClientIPTagsCollected: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_ContentParts: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_Evaluation: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_ExtraTags: missing_feature (APPSEC-70724)
tests/ai_guard/test_ai_guard_sdk.py::Test_ExtraTagsFailSafe: missing_feature (APPSEC-70724)
tests/ai_guard/test_ai_guard_sdk.py::Test_Full_Response_And_Tags: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_NoRedaction: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_RedactedMessagesInSDKResponse: missing_feature
Expand Down
2 changes: 2 additions & 0 deletions manifests/golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ manifest:
tests/ai_guard/test_ai_guard_sdk.py::Test_ClientIPTagsCollected: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_ContentParts: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_Evaluation: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_ExtraTags: missing_feature (APPSEC-70724)
tests/ai_guard/test_ai_guard_sdk.py::Test_ExtraTagsFailSafe: missing_feature (APPSEC-70724)
tests/ai_guard/test_ai_guard_sdk.py::Test_Full_Response_And_Tags: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_NoRedaction: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_RedactedMessagesInSDKResponse: missing_feature
Expand Down
2 changes: 2 additions & 0 deletions manifests/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ manifest:
- weblog_declaration:
"*": irrelevant (just one weblog is enough to test the SDK)
"spring-boot": v1.54.0
tests/ai_guard/test_ai_guard_sdk.py::Test_ExtraTags: missing_feature (APPSEC-70724)
tests/ai_guard/test_ai_guard_sdk.py::Test_ExtraTagsFailSafe: missing_feature (APPSEC-70724)
tests/ai_guard/test_ai_guard_sdk.py::Test_Full_Response_And_Tags:
- weblog_declaration:
"*": irrelevant (just one weblog is enough to test the SDK)
Expand Down
2 changes: 2 additions & 0 deletions manifests/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ manifest:
- weblog_declaration:
"*": irrelevant (just one weblog is enough to test the SDK)
express5: *ref_5_69_0
tests/ai_guard/test_ai_guard_sdk.py::Test_ExtraTags: missing_feature (APPSEC-70724)
tests/ai_guard/test_ai_guard_sdk.py::Test_ExtraTagsFailSafe: missing_feature (APPSEC-70724)
tests/ai_guard/test_ai_guard_sdk.py::Test_Full_Response_And_Tags:
- weblog_declaration:
"*": irrelevant (just one weblog is enough to test the SDK)
Expand Down
2 changes: 2 additions & 0 deletions manifests/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ manifest:
tests/ai_guard/test_ai_guard_sdk.py::Test_ClientIPTagsCollected: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_ContentParts: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_Evaluation: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_ExtraTags: missing_feature (APPSEC-70724)
tests/ai_guard/test_ai_guard_sdk.py::Test_ExtraTagsFailSafe: missing_feature (APPSEC-70724)
tests/ai_guard/test_ai_guard_sdk.py::Test_Full_Response_And_Tags: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_NoRedaction: missing_feature
tests/ai_guard/test_ai_guard_sdk.py::Test_RedactedMessagesInSDKResponse: missing_feature
Expand Down
8 changes: 8 additions & 0 deletions manifests/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ manifest:
- weblog_declaration:
"*": irrelevant (just one weblog is enough to test the SDK)
"flask-poc": v3.18.1
tests/ai_guard/test_ai_guard_sdk.py::Test_ExtraTags:
- weblog_declaration:
"*": irrelevant (just one weblog is enough to test the SDK)
"flask-poc": v4.17.0-dev
tests/ai_guard/test_ai_guard_sdk.py::Test_ExtraTagsFailSafe:
- weblog_declaration:
"*": irrelevant (just one weblog is enough to test the SDK)
"flask-poc": v4.17.0-dev
tests/ai_guard/test_ai_guard_sdk.py::Test_Full_Response_And_Tags:
- weblog_declaration:
"*": irrelevant (just one weblog is enough to test the SDK)
Expand Down
2 changes: 2 additions & 0 deletions manifests/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ manifest:
sinatra32: irrelevant
sinatra41: irrelevant
uds-sinatra: irrelevant
tests/ai_guard/test_ai_guard_sdk.py::Test_ExtraTags: missing_feature (APPSEC-70724)
tests/ai_guard/test_ai_guard_sdk.py::Test_ExtraTagsFailSafe: missing_feature (APPSEC-70724)
tests/ai_guard/test_ai_guard_sdk.py::Test_Full_Response_And_Tags:
- weblog_declaration:
"*": v2.25.0-dev
Expand Down
Loading
Loading