Precondition
Describe the bug
NVD has assigned elastic:apm_agent to CVEs in the Python and Ruby versions of the software, but elastic:apm_java_agent for the Java version.
A hint like this resolves it:
<hint>
<given>
<evidence type="product" source="pom" name="groupid" value="co.elastic.apm" confidence="HIGHEST"/>
<evidence type="product" source="pom" name="artifactid" value="elastic-apm-agent" confidence="HIGHEST"/>
</given>
<add>
<evidence type="product" source="hint analyzer" name="product" value="apm_java_agent" confidence="HIGHEST"/>
</add>
</hint>
Alternatively the group co.elastic.apm would cover all components of the agent.