Giter Club home page Giter Club logo

Comments (7)

clemiller avatar clemiller commented on July 20, 2024

Hi @gnh1201,

Would you be able to provide any further details on the steps to reproduce this issue or an example layer you could share? It appears #50 was addressed in an old version (v2.1) of Navigator and I have not been able to reproduce this issue in the latest version (v4.9.1) with the details provided.

from attack-navigator.

gnh1201 avatar gnh1201 commented on July 20, 2024

Below is the method to reproduce this issue:

  1. Copy the first example described in the layers/LAYERFORMATv4_5.md file and create a JSON file exactly as it is. In my case, I changed hideDisabled to true, but leaving it as false should not hinder reproducing the issue.
  2. Upload it to the MITRE ATT&CK Navigator.
  3. A popup will appear suggesting an upgrade due to a new schema. Click "No."
  4. The disabled items are not hidden. Pressing the show/hide disabled button has the same result.

from attack-navigator.

gnh1201 avatar gnh1201 commented on July 20, 2024

My environments

  • Microsoft Edge 119.0.2151.72
  • Google Chrome 119.0.6045.160

from attack-navigator.

gnh1201 avatar gnh1201 commented on July 20, 2024

While reading through existing closed issues, I found a little bit that seem to be related. It might not be helpful, but I'll add references. #470 #466

from attack-navigator.

adpare avatar adpare commented on July 20, 2024

Hi @gnh1201,

We followed the steps you outlined to reproduce the issue. It is working as expected on our end. The hide/show disabled button is working based on the value of hideDisabled in the layer file.
What may be causing the issue could be our example layer file layers/LAYERFORMATv4_5.md. Technique T1078 does not fall under the tactic discovery. If you change that to privilege-escalation, you will be able to see the disabled technique.
In addition, disabled techniques with enabled sub-techniques will not be hidden when you click on show/hide.

Hope this solves your issue.

from attack-navigator.

gnh1201 avatar gnh1201 commented on July 20, 2024

Hi @adpare

In addition, disabled techniques with enabled sub-techniques will not be hidden when you click on show/hide.

This is the behavior I expected. However, the problem is that it's not working as intended at the moment.

What may be causing the issue could be our example layer file layers/LAYERFORMATv4_5.md.

The same issue exists in both layers/LAYERFORMAT*.MD and layers/data/samples/*.json.

This issue has not been resolved yet.

from attack-navigator.

gnh1201 avatar gnh1201 commented on July 20, 2024

Sorry. I misunderstood this feature. I wanted to hide techniques that were not highlighted. As I continued to try, I realized that this is different from the show/hide disabled feature.

I have decided to create a separate 'show/hide not-highlighted' button. Link to the commit

Thank you for addressing this issue.

from attack-navigator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.