lib/contrast/agent/assess/policy/policy.rb in contrast-agent-7.5.0 vs lib/contrast/agent/assess/policy/policy.rb in contrast-agent-7.6.0

- old
+ new

@@ -32,10 +32,12 @@ load_providers end # Indicates is this feature has been disabled by the configuration, # read at startup, and therefore can never be enabled. + # + # @return [Boolean] if this feature is disabled def disabled_globally? ::Contrast::ASSESS.forcibly_disabled? end def node_type @@ -47,9 +49,11 @@ # define the conditions in which sources, propagators, and triggers are # applied. # This let's us be flexible and extensible # * when we want to do lvl 2 rules, we could have the customers unzip # our gem, insert things into the json, zip, and go * + # + # @param string [String] def from_hash_string string # The default behavior of the agent is to load the policy on startup, # as at this point we do not know in which mode we'll be run. # # If the configuration file explicitly disables a feature, we know