mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Merge pull request #7383 from rcordovano/develop
7895 reformat central repository source files
This commit is contained in:
commit
f7890d260a
@ -256,10 +256,12 @@ public class IngestEventsListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a "previously seen" hit for a device which was previously seen
|
* Create a "previously seen" hit for a device which was previously seen in
|
||||||
* in the central repository. NOTE: Artifacts that are too common will be skipped.
|
* the central repository. NOTE: Artifacts that are too common will be
|
||||||
|
* skipped.
|
||||||
*
|
*
|
||||||
* @param originalArtifact the artifact to create the "previously seen" item for
|
* @param originalArtifact the artifact to create the "previously seen" item
|
||||||
|
* for
|
||||||
* @param caseDisplayNames the case names the artifact was previously seen
|
* @param caseDisplayNames the case names the artifact was previously seen
|
||||||
* in
|
* in
|
||||||
* @param aType The correlation type.
|
* @param aType The correlation type.
|
||||||
@ -303,11 +305,11 @@ public class IngestEventsListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a "previously unseen" hit for an application which was never seen in
|
* Create a "previously unseen" hit for an application which was never seen
|
||||||
* the central repository.
|
* in the central repository.
|
||||||
*
|
*
|
||||||
* @param originalArtifact the artifact to create the "previously unseen" item
|
* @param originalArtifact the artifact to create the "previously unseen"
|
||||||
* for
|
* item for
|
||||||
* @param aType The correlation type.
|
* @param aType The correlation type.
|
||||||
* @param value The correlation value.
|
* @param value The correlation value.
|
||||||
*/
|
*/
|
||||||
@ -329,8 +331,10 @@ public class IngestEventsListener {
|
|||||||
* @param newArtifactType Type of artifact to create.
|
* @param newArtifactType Type of artifact to create.
|
||||||
* @param originalArtifact Artifact in current case we want to flag
|
* @param originalArtifact Artifact in current case we want to flag
|
||||||
* @param attributesForNewArtifact Attributes to assign to the new artifact
|
* @param attributesForNewArtifact Attributes to assign to the new artifact
|
||||||
* @param configuration The configuration to be specified for the new artifact hit
|
* @param configuration The configuration to be specified for the
|
||||||
* @param score sleuthkit.datamodel.Score to be assigned to this artifact
|
* new artifact hit
|
||||||
|
* @param score sleuthkit.datamodel.Score to be assigned
|
||||||
|
* to this artifact
|
||||||
* @param justification Justification string
|
* @param justification Justification string
|
||||||
*/
|
*/
|
||||||
private static void makeAndPostArtifact(BlackboardArtifact.Type newArtifactType, BlackboardArtifact originalArtifact, Collection<BlackboardAttribute> attributesForNewArtifact, String configuration,
|
private static void makeAndPostArtifact(BlackboardArtifact.Type newArtifactType, BlackboardArtifact originalArtifact, Collection<BlackboardAttribute> attributesForNewArtifact, String configuration,
|
||||||
@ -549,8 +553,8 @@ public class IngestEventsListener {
|
|||||||
for (BlackboardArtifact bbArtifact : bbArtifacts) {
|
for (BlackboardArtifact bbArtifact : bbArtifacts) {
|
||||||
// makeCorrAttrToSave will filter out artifacts which should not be sources of CR data.
|
// makeCorrAttrToSave will filter out artifacts which should not be sources of CR data.
|
||||||
List<CorrelationAttributeInstance> convertedArtifacts = new ArrayList<>();
|
List<CorrelationAttributeInstance> convertedArtifacts = new ArrayList<>();
|
||||||
if (bbArtifact instanceof DataArtifact){
|
if (bbArtifact instanceof DataArtifact) {
|
||||||
convertedArtifacts.addAll(CorrelationAttributeUtil.makeCorrAttrsToSave((DataArtifact)bbArtifact));
|
convertedArtifacts.addAll(CorrelationAttributeUtil.makeCorrAttrsToSave((DataArtifact) bbArtifact));
|
||||||
}
|
}
|
||||||
for (CorrelationAttributeInstance eamArtifact : convertedArtifacts) {
|
for (CorrelationAttributeInstance eamArtifact : convertedArtifacts) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user