Skip to content

Commit

Permalink
Fixes #37027 - Set up sp-reference to scap proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
adamruzicka committed Jan 4, 2024
1 parent 2bb7066 commit 8c5e335
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/concerns/foreman_openscap/host_extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ def self.prepended(base)
property :policies_enc, String, desc: 'Returns JSON string containing policies for the host'
property :policies_enc_raw, array_of: Hash, desc: 'Returns a list with key:value objects containing policies for the host'
end

base.smart_proxy_reference :self => [:openscap_proxy_id]
end

def inherited_attributes
Expand Down

0 comments on commit 8c5e335

Please sign in to comment.