-
Notifications
You must be signed in to change notification settings - Fork 800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[backend/frontend] Use admiralty scale for reliability and confidence (#2362) #3719
Conversation
05e7623
to
abaf79c
Compare
PR status |
opencti-platform/opencti-front/src/components/InputSliderField.tsx
Outdated
Show resolved
Hide resolved
opencti-platform/opencti-front/src/components/ItemOpenVocab.tsx
Outdated
Show resolved
Hide resolved
opencti-platform/opencti-front/src/private/components/analyses/reports/ReportCreation.tsx
Show resolved
Hide resolved
...ti-platform/opencti-front/src/private/components/entities/individuals/IndividualCreation.tsx
Outdated
Show resolved
Hide resolved
...opencti-front/src/private/components/common/stix_domain_objects/StixDomainObjectOverview.jsx
Outdated
Show resolved
Hide resolved
...platform/opencti-front/src/private/components/entities/organizations/OrganizationDetails.jsx
Outdated
Show resolved
Hide resolved
725e4e4
to
4cca592
Compare
We have two reliability fields in individual entity now (same as System and Organization) In edit confidence attribute (ex: for a report), If I change from custom to standard without update, It's not possible to retrieve my custom template We can't edit the confidence level in some entities (ex: grouping, region, country, ...). The field is not present in form edit. |
Locally tested, seems all good.
|
if (remainingData.confidence) { | ||
expect(remainingData.confidence).toEqual(15); | ||
if (remainingData.confidence !== undefined) { | ||
// expect(remainingData.confidence).toEqual(15); // can't test the confidence value, could be 15 ou 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why can't we test confidence value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe you should remove the test line if it's no longer useful?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested : ✅
The only question that remains for me is : Isn't that weird that in some entities (like locations ones) we can see a level of confidence in the stix domain object overview established at the lowest level (truth cannot be judged) and it's impossible to update it ?
Like maybe we can change it to "don't have any info" or something like that for entities that have not the possibility to update their confidence level.
I didn't check the stix policy on that, if it's part of it, ignore my question ^^
@@ -990,6 +991,25 @@ const useSearchEntities = ({ | |||
); | |||
}); | |||
break; | |||
case 'x_opencti_reliability': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason why there's nothing here ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's because it's the same case as the next one, there is no break. (the two cases are the same)
you're right, I'm having a discussion about this display issue with @Jipegien at the moment :) |
PR statusAll raised isssues should be fixed now :
|
6f17f07
to
d27bebf
Compare
opencti-platform/opencti-front/src/private/components/threats/IntrusionSets.jsx
Show resolved
Hide resolved
opencti-platform/opencti-front/src/private/components/threats/ThreatActorsGroup.jsx
Show resolved
Hide resolved
opencti-platform/opencti-front/src/private/components/threats/ThreatActorsGroup.jsx
Show resolved
Hide resolved
...ti-front/src/private/components/settings/sub_types/scaleConfiguration/ScaleConfiguration.tsx
Show resolved
Hide resolved
opencti-platform/opencti-front/src/components/ItemOpenVocab.tsx
Outdated
Show resolved
Hide resolved
d27bebf
to
29c61ae
Compare
Proposed changes
MVP ready
Nice to have done
Related issues
Checklist
Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...