pub struct ApplicationQuery {
pub name: Option<String>,
pub policy_compliance: Option<String>,
pub modified_after: Option<String>,
pub modified_before: Option<String>,
pub created_after: Option<String>,
pub created_before: Option<String>,
pub scan_type: Option<String>,
pub tags: Option<String>,
pub business_unit: Option<String>,
pub page: Option<u32>,
pub size: Option<u32>,
}
Expand description
Query parameters for filtering applications.
Fields§
§name: Option<String>
Filter by application name (partial match)
policy_compliance: Option<String>
Filter by policy compliance status (PASSED, DID_NOT_PASS
, etc.)
modified_after: Option<String>
Filter applications modified after this date (ISO 8601 format)
modified_before: Option<String>
Filter applications modified before this date (ISO 8601 format)
created_after: Option<String>
Filter applications created after this date (ISO 8601 format)
created_before: Option<String>
Filter applications created before this date (ISO 8601 format)
scan_type: Option<String>
Filter by scan type (STATIC, DYNAMIC, MANUAL, SCA)
Filter by tags (comma-separated)
business_unit: Option<String>
Filter by business unit name
page: Option<u32>
Page number for pagination (0-based)
size: Option<u32>
Number of items per page (default: 20, max: 500)
Implementations§
Source§impl ApplicationQuery
impl ApplicationQuery
Sourcepub fn with_policy_compliance(self, compliance: &str) -> Self
pub fn with_policy_compliance(self, compliance: &str) -> Self
Filter applications by policy compliance status.
Sourcepub fn with_modified_after(self, date: &str) -> Self
pub fn with_modified_after(self, date: &str) -> Self
Filter applications modified after the specified date.
Sourcepub fn with_modified_before(self, date: &str) -> Self
pub fn with_modified_before(self, date: &str) -> Self
Filter applications modified before the specified date.
Sourcepub fn to_query_params(&self) -> Vec<(String, String)>
pub fn to_query_params(&self) -> Vec<(String, String)>
Convert the query to URL query parameters.
Trait Implementations§
Source§impl Clone for ApplicationQuery
impl Clone for ApplicationQuery
Source§fn clone(&self) -> ApplicationQuery
fn clone(&self) -> ApplicationQuery
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more