Skip to content
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

JSON Export seems buggy #638

Closed
Dviros opened this issue May 15, 2024 · 1 comment
Closed

JSON Export seems buggy #638

Dviros opened this issue May 15, 2024 · 1 comment

Comments

@Dviros
Copy link

Dviros commented May 15, 2024

Steps to reproduce:

  1. Access Navigator (https://mitre-attack.github.io/attack-navigator/), select Enterprise only with the latest version.
  2. Filter out on 365, SaaS, Google Workspace, Azure AD
  3. Select T1530 - it appears, state is on.
  4. Expand on all techniques and sub-techniques
  5. Export as JSON and Excel, search for T1530
  6. Technique would appear in the excel file and not in the JSON file

Originally posted by @OtherPeoplesEnemy in #630 (comment)

layer.xlsx
layer (3).json

@clemiller
Copy link
Contributor

Hi @Dviros,

The JSON download and Excel download have different underlying functions:

  • JSON layers are intended to only contain the set of annotations (score, color, comment, etc.) that have been added on top of the matrix. The Navigator will omit techniques which have no annotations from the JSON. This is designed to make the JSON layers much smaller since only techniques with annotations need to be included.
  • The Excel download works similarly to the SVG download, where it renders the layer as shown in the Navigator in Excel format.

Since T1530 is visible in the layer, it will be rendered in the Excel file; however, since it is not annotated, it is excluded from the JSON.

Hope this helps! Closing this issue as it appears to be working as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants