Module: Wazuh::Api::Endpoints::SecurityConfigurationAssessment
- Included in:
- Wazuh::Api::Endpoints
- Defined in:
- lib/wazuh/api/endpoints/security_configuration_assessment.rb
Instance Method Summary collapse
-
#checks_sca_database(agent_id, policy_id, options = {}) ⇒ Object
Get security configuration assessment (SCA) checks database Returns the sca checks of an agent.
-
#sca_database(agent_id, options = {}) ⇒ Object
Get security configuration assessment (SCA) database Returns the sca database of an agent.
Instance Method Details
#checks_sca_database(agent_id, policy_id, options = {}) ⇒ Object
Get security configuration assessment (SCA) checks database Returns the sca checks of an agent.
41 42 43 44 |
# File 'lib/wazuh/api/endpoints/security_configuration_assessment.rb', line 41 def checks_sca_database(agent_id, policy_id, = {}) data = get "/sca/#{agent_id}/checks/#{policy_id}", data.items end |
#sca_database(agent_id, options = {}) ⇒ Object
Get security configuration assessment (SCA) database Returns the sca database of an agent
68 69 70 71 |
# File 'lib/wazuh/api/endpoints/security_configuration_assessment.rb', line 68 def sca_database(agent_id, = {}) data = get "/sca/#{agent_id}", data.items end |