code: private static void scanArtifact(Artifact artifact, VictimsOutputStream vos)
              throws IOException {
          ArrayList<Artifact> embedded = artifact.embedded();
          if (embedded != null) {
              for (Artifact eartifact : artifact.embedded()) {
                  scanArtifact(eartifact, vos);
              }
          }
          VictimsRecord record = new VictimsRecord(artifact);
          vos.write(record);
      }
docs: Scans a provided {@link Artifact} and writes the resulting
  {@link VictimsRecord} to the provided {@link VictimsOutputStream}.
  
  @param artifact
  @param os
  @throws IOException