-
Notifications
You must be signed in to change notification settings - Fork 941
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hotfix OpenCTI connector and new doc about inferences
- Loading branch information
Samuel Hassine
committed
Jul 1, 2019
1 parent
503a8c7
commit 4735b7f
Showing
7 changed files
with
89 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
--- | ||
id: inferences | ||
title: Inferred relations | ||
sidebar_label: Inferred relations | ||
--- | ||
|
||
## Introduction | ||
|
||
OpenCTI is based on an [entities-relations model](../usage/model) that allows users to connect many entities together. In some cases, it could be interesting that some facts to be automatically inferred from others. For instance, if a `campaign` targeted the sector of `electricity`, which is a sub-sector of the `energy` sector, and is attributed to an `intrusion set`, the analyst wants to know that this specific `intrusion set` has targeted the `energy` sector. | ||
|
||
In OpenCTI, this can be represented by: | ||
|
||
![Relations](assets/reference/relations.png "Relations") | ||
|
||
To derive the implicit facts of this kind of knowledge, OpenCTI relies on the [inferences capability of the Grakn database](https://dev.grakn.ai/docs/schema/rules). The result is explained directly in the application when displaying an inferred relation: | ||
|
||
![Inference 1](assets/reference/inference1.png "Inference 1") | ||
|
||
## Implemented rules of inferences | ||
|
||
The implemented rules are expressed here in pseudo-code. | ||
|
||
### Usage rules | ||
|
||
<pre><code>when { | ||
A attributed-to B | ||
A uses C | ||
}, then { | ||
B uses C | ||
} | ||
</code></pre> | ||
|
||
### Target rules | ||
|
||
<pre><code>when { | ||
A attributed-to B | ||
A targets C | ||
}, then { | ||
B targets C | ||
} | ||
</code></pre> | ||
|
||
<pre><code>when { | ||
A uses B | ||
B targets C | ||
}, then { | ||
A targets C | ||
} | ||
</code></pre> | ||
|
||
<pre><code>when { | ||
A part-of (gathering) B | ||
C targets A | ||
}, then { | ||
C targets B | ||
} | ||
</code></pre> | ||
|
||
<pre><code>when { | ||
A localized-in (localization) B | ||
C targets A | ||
}, then { | ||
C targets B | ||
} | ||
</code></pre> | ||
|
||
### Attribution rules | ||
|
||
<pre><code>when { | ||
A attributed-to B | ||
B attributed-to C | ||
}, then { | ||
A attributed-to C | ||
} | ||
</code></pre> | ||
|
||
### Localization rules | ||
|
||
<pre><code>when { | ||
A localized-in (localization) B | ||
B localized-in (localization) C | ||
}, then { | ||
A localized-in (localization) C | ||
} | ||
</code></pre> |