Skip to content

Commit

Permalink
style: fix spelling error
Browse files Browse the repository at this point in the history
  • Loading branch information
vicferpoy committed Jan 30, 2025
1 parent 797e91e commit 3895acf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/src/backend/api/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ class FindingFilter(FilterSet):
field_name="resources__type", lookup_expr="icontains"
)

# Temporary disabled until we implement tag filtering in the UI
# Temporarily disabled until we implement tag filtering in the UI
# resource_tag_key = CharFilter(field_name="resources__tags__key")
# resource_tag_key__in = CharInFilter(
# field_name="resources__tags__key", lookup_expr="in"
Expand Down
2 changes: 1 addition & 1 deletion api/src/backend/api/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2611,7 +2611,7 @@ def test_findings_metadata_retrieve(self, authenticated_client, findings_fixture

expected_services = {"ec2", "s3"}
expected_regions = {"eu-west-1", "us-east-1"}
# Temporary disabled until we implement tag filtering in the UI
# Temporarily disabled until we implement tag filtering in the UI
# expected_tags = {"key": ["value"], "key2": ["value2"]}
expected_resource_types = {"prowler-test"}

Expand Down
2 changes: 1 addition & 1 deletion api/src/backend/api/v1/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ class FindingMetadataSerializer(serializers.Serializer):
resource_types = serializers.ListField(
child=serializers.CharField(), allow_empty=True
)
# Temporary disabled until we implement tag filtering in the UI
# Temporarily disabled until we implement tag filtering in the UI
# tags = serializers.JSONField(help_text="Tags are described as key-value pairs.")

class Meta:
Expand Down
2 changes: 1 addition & 1 deletion api/src/backend/api/v1/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ def metadata(self, request):
.order_by("type")
)

# Temporary disabled until we implement tag filtering in the UI
# Temporarily disabled until we implement tag filtering in the UI
# tag_data = (
# relevant_resources
# .filter(tags__key__isnull=False, tags__value__isnull=False)
Expand Down

0 comments on commit 3895acf

Please sign in to comment.