tlsobs
: Tools to Work with the 'Mozilla' 'TLS' Observatory 'API'
The Mozilla TLS Observatory can be used to compare your site against the Mozilla guidelines. You can use their service or host your own. Both the central service and locally hosted services have an API. Either the central service or a local service can be queried from the functions provided.
The following functions are implemented:
get_cert
: Retrieve a certificateget_issuer_count
: Retrieve certificate issuer countget_paths
: Retrieve paths from a certificate to one of multiple roots.get_scan_results
: Retrieve a certificateget_usage_stats
: Retrive 24 hour scan statistics from the TLS Obsercatory APIget_heartbeat
: Check for TLS Obsercatory API server online statusFeel free to implement any of ^^. Please file an issue if you do and ensure you update DESCRIPTION
devtools::install_github("hrbrmstr/tlsobs")
options(width=120)
library(tlsobs) # current verison packageVersion("tlsobs") get_heartbeat() str(get_cert(1)) str(get_issuer_count(1)) str(get_paths(1)) str(get_scan_results("12302333"))
get_usage_stats()
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.