#[allow(unused_imports)]
use super::*;
impl std::fmt::Debug for super::CrawledUrl {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("CrawledUrl");
debug_struct.field("http_method", &self.http_method);
debug_struct.field("url", &self.url);
debug_struct.field("body", &self.body);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Finding {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Finding");
debug_struct.field("name", &self.name);
debug_struct.field("finding_type", &self.finding_type);
debug_struct.field("severity", &self.severity);
debug_struct.field("http_method", &self.http_method);
debug_struct.field("fuzzed_url", &self.fuzzed_url);
debug_struct.field("body", &self.body);
debug_struct.field("description", &self.description);
debug_struct.field("reproduction_url", &self.reproduction_url);
debug_struct.field("frame_url", &self.frame_url);
debug_struct.field("final_url", &self.final_url);
debug_struct.field("tracking_id", &self.tracking_id);
debug_struct.field("form", &self.form);
debug_struct.field("outdated_library", &self.outdated_library);
debug_struct.field("violating_resource", &self.violating_resource);
debug_struct.field("vulnerable_headers", &self.vulnerable_headers);
debug_struct.field("vulnerable_parameters", &self.vulnerable_parameters);
debug_struct.field("xss", &self.xss);
debug_struct.field("xxe", &self.xxe);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Form {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Form");
debug_struct.field("action_uri", &self.action_uri);
debug_struct.field("fields", &self.fields);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::OutdatedLibrary {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("OutdatedLibrary");
debug_struct.field("library_name", &self.library_name);
debug_struct.field("version", &self.version);
debug_struct.field("learn_more_urls", &self.learn_more_urls);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ViolatingResource {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ViolatingResource");
debug_struct.field("content_type", &self.content_type);
debug_struct.field("resource_url", &self.resource_url);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::VulnerableParameters {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("VulnerableParameters");
debug_struct.field("parameter_names", &self.parameter_names);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::VulnerableHeaders {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("VulnerableHeaders");
debug_struct.field("headers", &self.headers);
debug_struct.field("missing_headers", &self.missing_headers);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::vulnerable_headers::Header {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Header");
debug_struct.field("name", &self.name);
debug_struct.field("value", &self.value);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Xss {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Xss");
debug_struct.field("stack_traces", &self.stack_traces);
debug_struct.field("error_message", &self.error_message);
debug_struct.field("attack_vector", &self.attack_vector);
debug_struct.field("stored_xss_seeding_url", &self.stored_xss_seeding_url);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Xxe {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Xxe");
debug_struct.field("payload_value", &self.payload_value);
debug_struct.field("payload_location", &self.payload_location);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::FindingTypeStats {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("FindingTypeStats");
debug_struct.field("finding_type", &self.finding_type);
debug_struct.field("finding_count", &self.finding_count);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ScanConfig {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ScanConfig");
debug_struct.field("name", &self.name);
debug_struct.field("display_name", &self.display_name);
debug_struct.field("max_qps", &self.max_qps);
debug_struct.field("starting_urls", &self.starting_urls);
debug_struct.field("authentication", &self.authentication);
debug_struct.field("user_agent", &self.user_agent);
debug_struct.field("blacklist_patterns", &self.blacklist_patterns);
debug_struct.field("schedule", &self.schedule);
debug_struct.field(
"export_to_security_command_center",
&self.export_to_security_command_center,
);
debug_struct.field("risk_level", &self.risk_level);
debug_struct.field("managed_scan", &self.managed_scan);
debug_struct.field("static_ip_scan", &self.static_ip_scan);
debug_struct.field("ignore_http_status_errors", &self.ignore_http_status_errors);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::scan_config::Authentication {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Authentication");
debug_struct.field("authentication", &self.authentication);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::scan_config::authentication::GoogleAccount {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("GoogleAccount");
debug_struct.field("username", &self.username);
debug_struct.field("password", &self.password);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::scan_config::authentication::CustomAccount {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("CustomAccount");
debug_struct.field("username", &self.username);
debug_struct.field("password", &self.password);
debug_struct.field("login_url", &self.login_url);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::scan_config::authentication::IapCredential {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("IapCredential");
debug_struct.field("iap_credentials", &self.iap_credentials);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug
for super::scan_config::authentication::iap_credential::IapTestServiceAccountInfo
{
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("IapTestServiceAccountInfo");
debug_struct.field("target_audience_client_id", &self.target_audience_client_id);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::scan_config::Schedule {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Schedule");
debug_struct.field("schedule_time", &self.schedule_time);
debug_struct.field("interval_duration_days", &self.interval_duration_days);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ScanConfigError {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ScanConfigError");
debug_struct.field("code", &self.code);
debug_struct.field("field_name", &self.field_name);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ScanRun {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ScanRun");
debug_struct.field("name", &self.name);
debug_struct.field("execution_state", &self.execution_state);
debug_struct.field("result_state", &self.result_state);
debug_struct.field("start_time", &self.start_time);
debug_struct.field("end_time", &self.end_time);
debug_struct.field("urls_crawled_count", &self.urls_crawled_count);
debug_struct.field("urls_tested_count", &self.urls_tested_count);
debug_struct.field("has_vulnerabilities", &self.has_vulnerabilities);
debug_struct.field("progress_percent", &self.progress_percent);
debug_struct.field("error_trace", &self.error_trace);
debug_struct.field("warning_traces", &self.warning_traces);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ScanRunErrorTrace {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ScanRunErrorTrace");
debug_struct.field("code", &self.code);
debug_struct.field("scan_config_error", &self.scan_config_error);
debug_struct.field(
"most_common_http_error_code",
&self.most_common_http_error_code,
);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ScanRunLog {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ScanRunLog");
debug_struct.field("summary", &self.summary);
debug_struct.field("name", &self.name);
debug_struct.field("execution_state", &self.execution_state);
debug_struct.field("result_state", &self.result_state);
debug_struct.field("urls_crawled_count", &self.urls_crawled_count);
debug_struct.field("urls_tested_count", &self.urls_tested_count);
debug_struct.field("has_findings", &self.has_findings);
debug_struct.field("error_trace", &self.error_trace);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ScanRunWarningTrace {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ScanRunWarningTrace");
debug_struct.field("code", &self.code);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::CreateScanConfigRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("CreateScanConfigRequest");
debug_struct.field("parent", &self.parent);
debug_struct.field("scan_config", &self.scan_config);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::DeleteScanConfigRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("DeleteScanConfigRequest");
debug_struct.field("name", &self.name);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::GetScanConfigRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("GetScanConfigRequest");
debug_struct.field("name", &self.name);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListScanConfigsRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListScanConfigsRequest");
debug_struct.field("parent", &self.parent);
debug_struct.field("page_token", &self.page_token);
debug_struct.field("page_size", &self.page_size);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::UpdateScanConfigRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("UpdateScanConfigRequest");
debug_struct.field("scan_config", &self.scan_config);
debug_struct.field("update_mask", &self.update_mask);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListScanConfigsResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListScanConfigsResponse");
debug_struct.field("scan_configs", &self.scan_configs);
debug_struct.field("next_page_token", &self.next_page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::StartScanRunRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("StartScanRunRequest");
debug_struct.field("name", &self.name);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::GetScanRunRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("GetScanRunRequest");
debug_struct.field("name", &self.name);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListScanRunsRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListScanRunsRequest");
debug_struct.field("parent", &self.parent);
debug_struct.field("page_token", &self.page_token);
debug_struct.field("page_size", &self.page_size);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListScanRunsResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListScanRunsResponse");
debug_struct.field("scan_runs", &self.scan_runs);
debug_struct.field("next_page_token", &self.next_page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::StopScanRunRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("StopScanRunRequest");
debug_struct.field("name", &self.name);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListCrawledUrlsRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListCrawledUrlsRequest");
debug_struct.field("parent", &self.parent);
debug_struct.field("page_token", &self.page_token);
debug_struct.field("page_size", &self.page_size);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListCrawledUrlsResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListCrawledUrlsResponse");
debug_struct.field("crawled_urls", &self.crawled_urls);
debug_struct.field("next_page_token", &self.next_page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::GetFindingRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("GetFindingRequest");
debug_struct.field("name", &self.name);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListFindingsRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListFindingsRequest");
debug_struct.field("parent", &self.parent);
debug_struct.field("filter", &self.filter);
debug_struct.field("page_token", &self.page_token);
debug_struct.field("page_size", &self.page_size);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListFindingsResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListFindingsResponse");
debug_struct.field("findings", &self.findings);
debug_struct.field("next_page_token", &self.next_page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListFindingTypeStatsRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListFindingTypeStatsRequest");
debug_struct.field("parent", &self.parent);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListFindingTypeStatsResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListFindingTypeStatsResponse");
debug_struct.field("finding_type_stats", &self.finding_type_stats);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}