Pull out `autofilter_ports` and `autofilter_services` from metadata cache

This commit is contained in:
Dean Welch 2023-04-17 23:45:19 +01:00
parent e54d602d4c
commit e874731781
1 changed files with 25 additions and 24 deletions

View File

@ -187,14 +187,15 @@ class Obj
@ref_name = obj_hash['ref_name']
@path = obj_hash['path']
@is_install_path = obj_hash['is_install_path']
@targets = obj_hash['targets'].nil? ? [] : obj_hash['targets']
@targets = obj_hash['targets']
@check = obj_hash['check'] ? true : false
@post_auth = obj_hash['post_auth']
@default_credential = obj_hash['default_credential']
@notes = obj_hash['notes'].nil? ? {} : obj_hash['notes']
@needs_cleanup = obj_hash['needs_cleanup']
@session_types = obj_hash['session_types']
@autofilter_ports = obj_hash['autofilter_ports']
@autofilter_services = obj_hash['autofilter_services']
end
def sort_platform_string