diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000000..e7a120f892 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,5 @@ +{ + "recommendations": [ + "redhat.vscode-yaml" + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 297ae915ac..f478401afe 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,5 +6,17 @@ "python.testing.pytestEnabled": true, "python.terminal.activateEnvironment": true, "python.envFile": "${workspaceFolder}/.env", - "python.testing.cwd": "${workspaceFolder}" + "python.testing.cwd": "${workspaceFolder}", + "yaml.schemas": { + "./schemas/RemovedContent.schema.json": "removed/*/*.yml", + "./schemas/Baseline.schema.json": ["baselines/*.yml", "!removed/baselines/*.yml"], + "./schemas/CSVLookup.schema.json": "lookups/csv/*.yml", + "./schemas/Dashboard.schema.json": "dashboards/*.yml", + "./schemas/DataSource.schema.json": "data_sources/*.yml", + "./schemas/EventBasedDetection.schema.json": ["detections/*.yml", "!removed/detections/*.yml"], + "./schemas/KVStoreLookup.schema.json": "lookups/kvstore/*.yml", + "./schemas/Macro.schema.json": "macros/*.yml", + "./schemas/Schedule.schema.json": "schedules/*.yml", + "./schemas/Story.schema.json": ["stories/*.yml", "!removed/stories/*.yml"] + } } \ No newline at end of file