Skip to content

Commit

Permalink
Exclude audit reports from scan tags filter when removing resources
Browse files Browse the repository at this point in the history
  • Loading branch information
a-h-abdelsalam committed Feb 5, 2024
1 parent ddd51c7 commit 9d0bcfe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/manage_sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -57097,6 +57097,10 @@ tag_remove_resources_filter (tag_t tag, const char *type, const char *filter)
"usage_type",
g_strdup ("audit"));
}
else if (strcasecmp (type, "report") == 0)
{
get_data_set_extra (&resources_get, "usage_type", g_strdup ("scan"));
}

gchar *columns;

Expand Down

0 comments on commit 9d0bcfe

Please sign in to comment.