chore(catalog): add Web Application Attack injector to the marketplace catalog (#6720) - #6767
Open
SamuelHassine wants to merge 1 commit into
Open
chore(catalog): add Web Application Attack injector to the marketplace catalog (#6720)#6767SamuelHassine wants to merge 1 commit into
SamuelHassine wants to merge 1 commit into
Conversation
4 tasks
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new marketplace catalog contract entry so the Web Application Attack injector (openaev_webapp) appears in the in-product marketplace.
Changes:
- Added a new
INJECTORcontract entry for Web Application Attack withcontainer_imageopenaev/injector-webappandcontainer_versionrolling. - Included an embedded PNG logo (base64) and a
config_schemamatching the existing “base block” injector configuration keys.
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project check has failed because the head coverage (2.93%) is below the target coverage (80.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #6767 +/- ##
============================================
+ Coverage 45.33% 45.35% +0.01%
Complexity 8029 8029
============================================
Files 2364 2364
Lines 66751 66751
Branches 9033 9033
============================================
+ Hits 30260 30272 +12
+ Misses 34513 34500 -13
- Partials 1978 1979 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Split from #6721 (one PR per injector, as requested). Adds the Web Application Attack
injector entry (slug
openaev_webapp, imageopenaev/injector-webapp, container_type INJECTOR,container_version "rolling") to the marketplace catalog
(
openaev-api/src/main/resources/catalog/catalog-integrators.json) so itshows up in the in-product marketplace.
Details
slug are taken from the injector's
manifest-metadata.jsonininjectors-python. The slug matches the canonical
injector_typedeclaredin the injector's config loader.
config_schemacopies the standard base block from existing INJECTORentries (OPENAEV_URL, OPENAEV_TOKEN, OPENAEV_TENANT_ID, INJECTOR_ID,
INJECTOR_NAME, INJECTOR_LOG_LEVEL); the injector only uses the base block, matching its config.yml.sample / .env.sample.
manager_supported true, playbook_supported false, max_confidence_level 80.
11 split PRs merge conflict-free in any order (entry order in the catalog
is not semantic).
Test plan
catalog-integrators.jsonparses as valid JSON (Pythonjson.loads).altered.
(
CatalogConnectorIngestionService): types/formats map to the supportedenums; password fields use
format: password+writeOnly.Closes #6720