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

plugin architecture: dashboards/visualizations #579

Closed
mmguero opened this issue Oct 1, 2024 · 1 comment
Closed

plugin architecture: dashboards/visualizations #579

mmguero opened this issue Oct 1, 2024 · 1 comment
Labels
dashboards Relating to Malcolm's OpenSearch Dashboards interface enhancement New feature or request plugins Related to Malcolm "plugins"
Milestone

Comments

@mmguero
Copy link
Collaborator

mmguero commented Oct 1, 2024

This is a sub-issue of Malcolm "plugin architecture" #399

Probably the simplest kind of plugin is adding a new visualization or dashboard to OpenSearch dashboards. Code needed for this might include:

  • the plugin archive would contain JSON files representing OpenSearch saved objects for OpenSearch dashboards
  • the code that loads the dashboards in would need to do some kind of sanitation
    • essentially, the search-and-replace discussed here for the following in case they forgot to do it when they generated it
      • MALCOLM_NETWORK_INDEX_PATTERN_REPLACER
      • MALCOLM_OTHER_INDEX_PATTERN_REPLACER
      • MALCOLM_NETWORK_INDEX_TIME_FIELD_REPLACER
      • MALCOLM_OTHER_INDEX_TIME_FIELD_REPLACER
    • this could probably be done here prior to expanding the replacers to their final values
  • Some sort of code that could cause these to be automatically added to the left navigation pane of the normal Malcolm dashboards?
@mmguero mmguero added enhancement New feature or request dashboards Relating to Malcolm's OpenSearch Dashboards interface plugins Related to Malcolm "plugins" labels Oct 1, 2024
@mmguero mmguero added this to the z.staging milestone Oct 1, 2024
@mmguero mmguero added this to Malcolm Oct 1, 2024
@mmguero mmguero moved this to Todo (design) in Malcolm Oct 1, 2024
@mmguero
Copy link
Collaborator Author

mmguero commented Nov 4, 2024

Kamino closed and cloned this issue to cisagov/Malcolm

@mmguero mmguero closed this as completed Nov 4, 2024
@github-project-automation github-project-automation bot moved this from Todo (design) to Done in Malcolm Nov 4, 2024
@mmguero mmguero moved this from Done to Migrated in Malcolm Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dashboards Relating to Malcolm's OpenSearch Dashboards interface enhancement New feature or request plugins Related to Malcolm "plugins"
Projects
Status: Migrated
Development

No branches or pull requests

1 participant