Skip to content

response body support for api security#1569

Merged
christophe-papazian merged 12 commits intomainfrom
christophe-papazian/api_security_tests_for_body_responses
Sep 8, 2023
Merged

response body support for api security#1569
christophe-papazian merged 12 commits intomainfrom
christophe-papazian/api_security_tests_for_body_responses

Conversation

@christophe-papazian
Copy link
Copy Markdown
Contributor

@christophe-papazian christophe-papazian commented Sep 6, 2023

Add body response test for api security

  • add new capability to tag_value end point of the weblog
  • use that to test schema computation of body response for api security
  • allow meta tags for api security to be gzip/b64 encoded or not (before it was mandatory, but it's not in the RFC)

Workflow

  1. ⚠️⚠️ Create your PR as draft
  2. Follow the style guidelines of this project (See how to easily lint the code)
  3. Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
  4. Mark it as ready for review

Once your PR is reviewed, you can merge it! ❤️

Reviewer checklist

  • Check what scenarios are modified. If needed, add the relevant label (run-parametric-scenario, run-profiling-scenario...). If this PR modifies any system-tests internal, then add the run-all-scenarios label (more info).
  • CI is green
    • If not, failing jobs are not related to this change (and you are 100% sure about this statement)
  • if any of build-some-image label is present
    1. is the image labl have been updated ?
    2. just before merging, locally build and push the image to hub.docker.com
  • if a scenario is added (or removed), add (or remove) it in system-test-dasboard nightly

@christophe-papazian christophe-papazian marked this pull request as ready for review September 6, 2023 15:36
@christophe-papazian christophe-papazian requested review from a team as code owners September 6, 2023 15:36
Comment thread tests/appsec/api_security/test_schemas.py Outdated
Comment thread utils/proxy/_deserializer.py Outdated
@christophe-papazian christophe-papazian marked this pull request as draft September 7, 2023 09:42
@christophe-papazian christophe-papazian marked this pull request as ready for review September 7, 2023 09:54
@christophe-papazian christophe-papazian marked this pull request as draft September 7, 2023 09:56
@christophe-papazian christophe-papazian marked this pull request as ready for review September 7, 2023 11:43
@christophe-papazian christophe-papazian changed the title body response support for api security response body support for api security Sep 7, 2023
@christophe-papazian christophe-papazian merged commit 1c0ec58 into main Sep 8, 2023
@christophe-papazian christophe-papazian deleted the christophe-papazian/api_security_tests_for_body_responses branch September 8, 2023 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants