We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bd66bd commit 50b7130Copy full SHA for 50b7130
lib/heimdall_tools/asff_compatible_products/securityhub.rb
@@ -60,7 +60,7 @@ def self.finding_nist_tag(finding, *, aws_config_mapping:, **)
60
if (i = tag.index('(')).nil?
61
tag
62
else
63
- tag[i..].scan(/\(.+?\)/).map { |subheading| "#{tag[0..i-1]}#{subheading}" }
+ tag[i..-1].scan(/\(.+?\)/).map { |subheading| "#{tag[0..i-1]}#{subheading}" }
64
end
65
66
end.flatten.uniq
0 commit comments