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

Release v1.17.0-alpha1 and fixes #267

Merged
merged 1 commit into from
Feb 20, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: artifacts
- name: Display structure of downloaded files
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# libddwaf release
### v1.17.0-alpha1 ([unstable](https://github.com/DataDog/libddwaf/blob/master/README.md#versioning-semantics))
#### Fixes
- Fix parsing of variadic arguments ([#267](https://github.com/DataDog/libddwaf/pull/267))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is pointing to here again


#### Miscellaneous
- Update node-16 actions to node-20 ones ([#266](https://github.com/DataDog/libddwaf/pull/266))

### v1.17.0-alpha0 ([unstable](https://github.com/DataDog/libddwaf/blob/master/README.md#versioning-semantics))
#### Changes
- Multivariate operator support ([#241](https://github.com/DataDog/libddwaf/pull/241))
Expand Down
2 changes: 1 addition & 1 deletion src/condition/structured_condition.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ template <typename Self> class base_impl : public base_condition {
return std::array<parameter_specification, sizeof...(Is)>{{
{
param_names[Is],
argument_retriever<typename func_traits::template arg_type<Is>>::is_optional,
argument_retriever<typename func_traits::template arg_type<Is>>::is_variadic,
argument_retriever<typename func_traits::template arg_type<Is>>::is_optional,
}...,
}};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
runs: [
{
persistent-input: {
server.app.include_path: "documents/../../../../../../../../../etc/passwd",
server.io.fs.file: "documents/../../../../../../../../../etc/passwd",
server.request.query: [ "../../../../../../../../../etc/passwd" ]
},
rules: [
{
"rsp-930-001": [
{
resource: {
address: "server.app.include_path",
address: "server.io.fs.file",
value: "documents/../../../../../../../../../etc/passwd"
},
params: {
Expand Down
7 changes: 6 additions & 1 deletion validator/tests/rules/structured/ruleset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ rules:
conditions:
- parameters:
resource:
- address: server.app.include_path
- address: server.io.fs.file
params:
- address: server.request.query
- address: server.request.body
- address: server.request.path_params
- address: grpc.server.request.message
- address: graphql.server.all_resolvers
- address: graphql.server.resolver
operator: lfi_detector
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.17.0-alpha0
1.17.0-alpha1