Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add net http rule #172

Merged
merged 2 commits into from
Nov 28, 2022
Merged

feat: add net http rule #172

merged 2 commits into from
Nov 28, 2022

Conversation

cfabianski
Copy link
Collaborator

Description

Add new ruby_http_detection rule
Also adds support for Hashes so that example like this will work

user = {
  first_name: "John 1",
  last_name: "Doe",
  address: {
    city: "Paris",
    zip_code: "75010"
  }
}

uri.query = URI.encode_www_form({ user: { first_name: "John", last_name: "Doe" } })
uri.query = URI.encode_www_form(user.email)

Checklist

  • I've added test coverage that shows my fix or feature works as expected.
  • I've updated or added documentation if required.
  • I've included usage information in the description if CLI behavior was updated or added.
  • PR title follows Conventional Commits format

@cfabianski cfabianski changed the title Chore/add net http rule feat: add net http rule Nov 28, 2022
@cfabianski cfabianski merged commit 16c548b into main Nov 28, 2022
@cfabianski cfabianski deleted the chore/add-net-http-rule branch November 28, 2022 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants