acs-admin-procs.tcl

Automated functions for acs-admin

Location:
packages/acs-admin/tcl/acs-admin-procs.tcl
Created:
2018-08-15
Author:
Gustaf Neumann

Procedures in this file

Detailed information

acs_admin::check_expired_certificates (private)

 acs_admin::check_expired_certificates [ -api api ] \
    [ -key_type key_type ]

Check expire-dates of certificates and send warning emails to the admin. In case HTTPS is not configured via the "nsssl" driver, or the command line tool "openssl" is not installed, the proc does nothing.

Switches:
-api (optional, defaults to "production")
possible values: "production" or "staging". In case the certificate is expired, use this type of letsencrypt environment to obtain a fresh certificate.
-key_type (optional, defaults to "ecdsa")
possible values: "rsa" or "ecdsa".
Returns:
boolean telling whether expired certificates existed (true) or not (false)

Partial Call Graph (max 5 caller/called nodes):
%3 test_acs_admin_check_expired_certificates acs_admin_check_expired_certificates (test acs-admin) acs_admin::check_expired_certificates acs_admin::check_expired_certificates test_acs_admin_check_expired_certificates->acs_admin::check_expired_certificates acs_mail_lite::send acs_mail_lite::send (public) acs_admin::check_expired_certificates->acs_mail_lite::send ad_host_administrator ad_host_administrator (public) acs_admin::check_expired_certificates->ad_host_administrator ad_html_to_text ad_html_to_text (public) acs_admin::check_expired_certificates->ad_html_to_text ad_parameter_cache ad_parameter_cache (public) acs_admin::check_expired_certificates->ad_parameter_cache ad_system_name ad_system_name (public) acs_admin::check_expired_certificates->ad_system_name

Testcases:
acs_admin_check_expired_certificates

acs_admin::posture_status (private)

 acs_admin::posture_status -current_location current_location -url url

return information about the posture status of the provided URL.

Switches:
-current_location (required)
-url (required)
Returns:
dict containing status, diagnosis, and package_id

Partial Call Graph (max 5 caller/called nodes):
%3 packages/acs-admin/www/posture-overview.tcl packages/acs-admin/ www/posture-overview.tcl acs_admin::posture_status acs_admin::posture_status packages/acs-admin/www/posture-overview.tcl->acs_admin::posture_status packages/acs-admin/www/widely-accessible-packages.tcl packages/acs-admin/ www/widely-accessible-packages.tcl packages/acs-admin/www/widely-accessible-packages.tcl->acs_admin::posture_status ad_decode ad_decode (public) acs_admin::posture_status->ad_decode permission::get_parties_with_permission permission::get_parties_with_permission (public) acs_admin::posture_status->permission::get_parties_with_permission site_node::get_node_id site_node::get_node_id (public) acs_admin::posture_status->site_node::get_node_id site_node::get_object_id site_node::get_object_id (public) acs_admin::posture_status->site_node::get_object_id

Testcases:
No testcase defined.
[ show source ]