Skip to content

Instantly share code, notes, and snippets.

@dLobatog
Created April 30, 2019 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dLobatog/dbac38e78c042adb0aa7eadb45e0b854 to your computer and use it in GitHub Desktop.
Save dLobatog/dbac38e78c042adb0aa7eadb45e0b854 to your computer and use it in GitHub Desktop.
irb(main):019:0> Host.find_by(:id => 'f15b74f2-2409-4e64-9879-5e7a8f4a5ac7').rules.select { |e| e.description.nil? }.first
=> #<Rule id: "8688b700-3371-4d36-8e5d-60ffcb32e7a8", ref_id: "xccdf_org.ssgproject.content_rule_package_telnet_r...", supported: nil, title: "Remove telnet Clients", severity: "low", description: nil, rationale: "The telnet protocol is insecure and unencrypted. T...", created_at: "2019-04-30 12:45:52", updated_at: "2019-04-30 12:45:52", slug: "xccdf_org-ssgproject-content_rule_package_telnet_r...">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment