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

Enhance diff and search to be less (ideally in-) sensitive to the order of schemas/fields #4310

Open
anvabr opened this issue Oct 25, 2024 · 0 comments
Labels

Comments

@anvabr
Copy link
Collaborator

anvabr commented Oct 25, 2024

Problem description

Current implementation of policy 'diff' and search is susceptible to false reporting when essentially the same content of policies and schemas has different structure, i.e the order of the fields is significantly different. This limits the usefulness of these functionalities to cases where compared items have essentially the same structure, Guardian fails to identify similarities and missed items in situations when only the content is similar, but not structure.

Requirements

Introduce advanced comparison capabilities where policies and schemas are compared 'semantically', i.e. similarities or differences in the content are found/highlighted irrespective of differences in structure.

Definition of done

  • Guardian comparison and search functionality is improved to resolve the problems described above.
  • Documentation and examples are updated accordingly

Acceptance criteria

  • Guardian matches (as mush as possible) human concept of similarities and differences of schemas
@anvabr anvabr changed the title Enhance policy compare and search to be less (ideally in-) sensitive to the order of schemas and fields Enhance diff and search to be less (ideally in-) sensitive to the order schemas/fields Oct 25, 2024
@anvabr anvabr changed the title Enhance diff and search to be less (ideally in-) sensitive to the order schemas/fields Enhance diff and search to be less (ideally in-) sensitive to the order of schemas/fields Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants