fleet/frontend/interfaces/config.js
billcobbler a83a26b279 Add ability to disable live queries (#2167)
- Add toggle to disable live queries in advanced settings
- Add new live query status endpoint (checks for disabled via config and Redis health)
- Update QueryPage UI to use new live query status endpoint

Implements #2140
2020-01-13 16:53:04 -08:00

23 lines
694 B
JavaScript

import PropTypes from 'prop-types';
export default PropTypes.shape({
live_query_disabled: PropTypes.bool,
authentication_method: PropTypes.string,
authentication_type: PropTypes.string,
configured: PropTypes.bool,
domain: PropTypes.string,
enable_ssl_tls: PropTypes.bool,
enable_start_tls: PropTypes.bool,
host_expiry_enabled: PropTypes.bool,
host_expiry_window: PropTypes.number,
kolide_server_url: PropTypes.string,
org_logo_url: PropTypes.string,
org_name: PropTypes.string,
password: PropTypes.string,
port: PropTypes.number,
sender_address: PropTypes.string,
server: PropTypes.string,
user_name: PropTypes.string,
verify_sll_certs: PropTypes.bool,
});