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

Decouple the generation of settings.js from update-attack.py #402

Open
seansica opened this issue Mar 14, 2023 · 0 comments
Open

Decouple the generation of settings.js from update-attack.py #402

seansica opened this issue Mar 14, 2023 · 0 comments

Comments

@seansica
Copy link
Contributor

The main Pelican build process generates a file called settings.js which includes three vars:

var base_url = “/“;
var build_uuid = “5144be18-993a-4aa4-bb2e-124dd2ce41b8”;
var tour_steps = {‘matrix’: ‘matrices/enterprise’, ‘technique’: ‘techniques/T1548’, ‘subtechnique’: ‘techniques/T1548/002’, ‘relationships’: {‘step3’: [‘T1003-004’, 5], ‘step2’: [‘T1555’, 3], ‘obj_id’: ‘software/S0349’}};

Two of these vars, base_url, and build_uuid are used by the search module.

The search module should be capable of generating or referencing these vars independently. We need to devise a solution that decouples these vars from the Pelican build process.

@seansica seansica added this to the Search Optimizations milestone Mar 14, 2023
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

1 participant