Skip to content
Draft
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
59 changes: 59 additions & 0 deletions rust/ql/lib/codeql/rust/frameworks/axum.model.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
extensions:
- addsTo:
pack: codeql/rust-all
extensible: sourceModel
data:
# Get
- ["axum::routing::method_routing::get", "Argument[0].Parameter[0..7]", "remote", "manual"]
- ["axum::routing::method_routing::get", "Argument[0].Parameter[0..7].Field[axum::json::Json(0)]", "remote", "manual"]
- ["axum::routing::method_routing::get", "Argument[0].Parameter[0..7].Field[axum::extract::path::Path(0)]", "remote", "manual"]
- ["axum::routing::method_routing::get", "Argument[0].Parameter[0..7].Field[axum::extract::query::Query(0)]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::get", "Argument[0].Parameter[0..7]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::get", "Argument[0].Parameter[0..7].Field[axum::json::Json(0)]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::get", "Argument[0].Parameter[0..7].Field[axum::extract::path::Path(0)]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::get", "Argument[0].Parameter[0..7].Field[axum::extract::query::Query(0)]", "remote", "manual"]
# Post
- ["axum::routing::method_routing::post", "Argument[0].Parameter[0..7]", "remote", "manual"]
- ["axum::routing::method_routing::post", "Argument[0].Parameter[0..7].Field[axum::json::Json(0)]", "remote", "manual"]
- ["axum::routing::method_routing::post", "Argument[0].Parameter[0..7].Field[axum::extract::path::Path(0)]", "remote", "manual"]
- ["axum::routing::method_routing::post", "Argument[0].Parameter[0..7].Field[axum::extract::query::Query(0)]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::post", "Argument[0].Parameter[0..7]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::post", "Argument[0].Parameter[0..7].Field[axum::json::Json(0)]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::post", "Argument[0].Parameter[0..7].Field[axum::extract::path::Path(0)]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::post", "Argument[0].Parameter[0..7].Field[axum::extract::query::Query(0)]", "remote", "manual"]
# Put
- ["axum::routing::method_routing::put", "Argument[0].Parameter[0..7]", "remote", "manual"]
- ["axum::routing::method_routing::put", "Argument[0].Parameter[0..7].Field[axum::json::Json(0)]", "remote", "manual"]
- ["axum::routing::method_routing::put", "Argument[0].Parameter[0..7].Field[axum::extract::path::Path(0)]", "remote", "manual"]
- ["axum::routing::method_routing::put", "Argument[0].Parameter[0..7].Field[axum::extract::query::Query(0)]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::put", "Argument[0].Parameter[0..7]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::put", "Argument[0].Parameter[0..7].Field[axum::json::Json(0)]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::put", "Argument[0].Parameter[0..7].Field[axum::extract::path::Path(0)]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::put", "Argument[0].Parameter[0..7].Field[axum::extract::query::Query(0)]", "remote", "manual"]
# Delete
- ["axum::routing::method_routing::delete", "Argument[0].Parameter[0..7]", "remote", "manual"]
- ["axum::routing::method_routing::delete", "Argument[0].Parameter[0..7].Field[axum::json::Json(0)]", "remote", "manual"]
- ["axum::routing::method_routing::delete", "Argument[0].Parameter[0..7].Field[axum::extract::path::Path(0)]", "remote", "manual"]
- ["axum::routing::method_routing::delete", "Argument[0].Parameter[0..7].Field[axum::extract::query::Query(0)]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::delete", "Argument[0].Parameter[0..7]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::delete", "Argument[0].Parameter[0..7].Field[axum::json::Json(0)]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::delete", "Argument[0].Parameter[0..7].Field[axum::extract::path::Path(0)]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::delete", "Argument[0].Parameter[0..7].Field[axum::extract::query::Query(0)]", "remote", "manual"]
# Patch
- ["axum::routing::method_routing::patch", "Argument[0].Parameter[0..7]", "remote", "manual"]
- ["axum::routing::method_routing::patch", "Argument[0].Parameter[0..7].Field[axum::json::Json(0)]", "remote", "manual"]
- ["axum::routing::method_routing::patch", "Argument[0].Parameter[0..7].Field[axum::extract::path::Path(0)]", "remote", "manual"]
- ["axum::routing::method_routing::patch", "Argument[0].Parameter[0..7].Field[axum::extract::query::Query(0)]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::patch", "Argument[0].Parameter[0..7]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::patch", "Argument[0].Parameter[0..7].Field[axum::json::Json(0)]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::patch", "Argument[0].Parameter[0..7].Field[axum::extract::path::Path(0)]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::patch", "Argument[0].Parameter[0..7].Field[axum::extract::query::Query(0)]", "remote", "manual"]
# on
- ["axum::routing::method_routing::on", "Argument[1].Parameter[0..7]", "remote", "manual"]
- ["axum::routing::method_routing::on", "Argument[1].Parameter[0..7].Field[axum::json::Json(0)]", "remote", "manual"]
- ["axum::routing::method_routing::on", "Argument[1].Parameter[0..7].Field[axum::extract::path::Path(0)]", "remote", "manual"]
- ["axum::routing::method_routing::on", "Argument[1].Parameter[0..7].Field[axum::extract::query::Query(0)]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::on", "Argument[1].Parameter[0..7]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::on", "Argument[1].Parameter[0..7].Field[axum::json::Json(0)]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::on", "Argument[1].Parameter[0..7].Field[axum::extract::path::Path(0)]", "remote", "manual"]
- ["<axum::routing::method_routing::MethodRouter>::on", "Argument[1].Parameter[0..7].Field[axum::extract::query::Query(0)]", "remote", "manual"]
Loading