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

[scanner integration] Associate source interface scan results with directory entries #501

Open
2 tasks
eloquence opened this issue May 25, 2018 · 0 comments
Open
2 tasks

Comments

@eloquence
Copy link
Member

eloquence commented May 25, 2018

As part of #488, we are interested in showing some basic information about the source interface on the directory page:

  • the current version of SecureDrop
  • an "instance down" indicator if the instance is down
  • an "estimated downtime" indicator if the instance is down

Note that this is very minimal information. We have no need for extensive per-host histories on SecureDrop.org, nor are we currently planning to integrate alerting directly with SecureDrop.org. Nagios/Icinga style monitoring/alerting should be considered a separate concern, which may use the same scanner (https://github.com/freedomofpress/infrastructure/issues/1084) and indeed be driven by the same scanner runs.

Scan objects should contain timestamp, version number, onion URL, public key fingerprint, and other scan information that the scanner returns.

Given that our concerns here are very basic, I would propose only two scan objects be associated with each directory entry:

  • most recent scan result
  • most recent successful scan result

This should be sufficient to meet the functional requirements. (To mitigate against cases where our scanner is falling over, we can avoid reporting inaccurate downtime by not displaying a scan result at all if the most recent scan is insufficiently recent.)

This task has two main parts, which we may wish to split up further depending on implementation strategy:

  • extending the directory entry model to allow for associating this data with an entry
  • integrating the actual scan results (e.g., by enabling SecureDrop.org to consume data from Nagios scan runs).
@eloquence eloquence changed the title Support associating source interface scan results with directory entries [scanner integration] Support associating source interface scan results with directory entries May 25, 2018
@eloquence eloquence changed the title [scanner integration] Support associating source interface scan results with directory entries [scanner integration] Associate source interface scan results with directory entries May 25, 2018
@soleilera soleilera added someday and removed someday labels Oct 4, 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

2 participants