Skip to content

Commit

Permalink
[frontend] add route obs / infra / knowl / incident (#6415)
Browse files Browse the repository at this point in the history
  • Loading branch information
frapuks committed Mar 22, 2024
1 parent a846eee commit d689842
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,22 @@ const InfrastructureKnowledge = ({ infrastructure }: { infrastructure: Infrastru
/>
)}
/>
<Route
exact
path="/dashboard/observations/infrastructures/:infrastructureId/knowledge/incidents"
render={(routeProps) => (
<EntityStixCoreRelationships
entityId={infrastructureData.id}
relationshipTypes={['uses', 'compromises']}
stixCoreObjectTypes={['Incident']}
entityLink={link}
isRelationReversed={true}
defaultStartTime={infrastructureData.first_seen}
defaultStopTime={infrastructureData.last_seen}
{...routeProps}
/>
)}
/>
</>
);
};
Expand Down

0 comments on commit d689842

Please sign in to comment.