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

Wire up Node-RED instance audit events to FF #232

Merged
merged 6 commits into from
Feb 8, 2024

Conversation

Steve-Mcl
Copy link
Contributor

Description

  • Adds new module lib/auditLogger/index.js for inclusing in settings.js
  • Updates lib/launcher.js to update settings.json with required properties for the auditLogger module
  • Updates lib/template/template-settings.js to use the new props in settings.json to load the auditLogger module
  • Adds test to ensure settings.json gets the necessary property values
  • Adds test to ensure settings.js loads the new module as a handler under logging.auditLogger.handler and also has the necessary properties loggingURL & token as well as the level and audit values like nr-launcher has.

Related Issue(s)

FlowFuse/flowfuse#3357

Checklist

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
    • Upgrade instructions
    • Configuration details
    • Concepts
  • Changes flowforge.yml?
    • Issue/PR raised on FlowFuse/helm to update ConfigMap Template
    • Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

  • Backport needed? -> add the backport label
  • Includes a DB migration? -> add the area:migration label

@Steve-Mcl Steve-Mcl linked an issue Feb 5, 2024 that may be closed by this pull request
7 tasks
@Steve-Mcl Steve-Mcl requested a review from knolleary February 5, 2024 16:38
@knolleary knolleary merged commit d1689f9 into main Feb 8, 2024
2 checks passed
@knolleary knolleary deleted the 3268-node-red-audit-logs branch February 8, 2024 10:29
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

Successfully merging this pull request may close these issues.

Audit log event “Flow Deployed” for Devices
2 participants