foreman_openscap 0.5.4 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +7 -7
  2. data/README.md +14 -0
  3. data/app/assets/javascripts/foreman_openscap/policy_edit.js +1 -1
  4. data/app/controllers/api/v2/compliance/policies_controller.rb +12 -9
  5. data/app/controllers/api/v2/compliance/scap_contents_controller.rb +4 -2
  6. data/app/controllers/concerns/foreman/controller/parameters/policy.rb +12 -0
  7. data/app/controllers/concerns/foreman/controller/parameters/policy_api.rb +21 -0
  8. data/app/controllers/concerns/foreman/controller/parameters/scap_content.rb +15 -0
  9. data/app/controllers/policies_controller.rb +7 -3
  10. data/app/controllers/scap_contents_controller.rb +4 -2
  11. data/app/helpers/{dashboard_helper.rb → compliance_dashboard_helper.rb} +2 -2
  12. data/app/helpers/policy_dashboard_helper.rb +9 -4
  13. data/app/models/concerns/foreman_openscap/host_extensions.rb +3 -5
  14. data/app/models/concerns/foreman_openscap/hostgroup_extensions.rb +1 -1
  15. data/app/models/concerns/foreman_openscap/log_extensions.rb +0 -1
  16. data/app/models/concerns/foreman_openscap/openscap_proxy_core_extensions.rb +1 -1
  17. data/app/models/concerns/foreman_openscap/openscap_proxy_extensions.rb +1 -2
  18. data/app/models/foreman_openscap/arf_report.rb +6 -4
  19. data/app/models/foreman_openscap/compliance_status.rb +3 -1
  20. data/app/models/foreman_openscap/policy.rb +62 -33
  21. data/app/models/foreman_openscap/scap_content.rb +1 -3
  22. data/app/views/arf_reports/_list.html.erb +1 -1
  23. data/app/views/arf_reports/show.html.erb +4 -4
  24. data/app/views/compliance_hosts/show.html.erb +1 -1
  25. data/app/views/dashboard/_compliance_host_reports_widget.html.erb +6 -6
  26. data/app/views/policies/index.html.erb +2 -2
  27. data/app/views/policies/steps/_schedule_form.html.erb +1 -1
  28. data/app/views/policies/steps/_step_form.html.erb +1 -0
  29. data/app/views/policies/welcome.html.erb +1 -1
  30. data/app/views/policy_dashboard/index.html.erb +2 -2
  31. data/app/views/scap_contents/index.html.erb +2 -2
  32. data/app/views/scap_contents/welcome.html.erb +1 -1
  33. data/db/migrate/20160830113437_remove_deleted_policy.rb +10 -0
  34. data/db/seeds.d/openscap_policy_notification.rb +2 -0
  35. data/lib/foreman_openscap/data_migration.rb +1 -1
  36. data/lib/foreman_openscap/engine.rb +11 -1
  37. data/lib/foreman_openscap/helper.rb +4 -8
  38. data/lib/foreman_openscap/version.rb +1 -1
  39. data/locale/Makefile +60 -0
  40. data/locale/de/LC_MESSAGES/foreman_openscap.mo +0 -0
  41. data/locale/de/foreman_openscap.po +616 -0
  42. data/locale/en_GB/LC_MESSAGES/foreman_openscap.mo +0 -0
  43. data/locale/en_GB/foreman_openscap.po +616 -0
  44. data/locale/es/LC_MESSAGES/foreman_openscap.mo +0 -0
  45. data/locale/es/foreman_openscap.po +616 -0
  46. data/locale/foreman_openscap.pot +873 -0
  47. data/locale/fr/LC_MESSAGES/foreman_openscap.mo +0 -0
  48. data/locale/fr/foreman_openscap.po +616 -0
  49. data/locale/gl/LC_MESSAGES/foreman_openscap.mo +0 -0
  50. data/locale/gl/foreman_openscap.po +616 -0
  51. data/locale/it/LC_MESSAGES/foreman_openscap.mo +0 -0
  52. data/locale/it/foreman_openscap.po +616 -0
  53. data/locale/ja/LC_MESSAGES/foreman_openscap.mo +0 -0
  54. data/locale/ja/foreman_openscap.po +616 -0
  55. data/locale/ko/LC_MESSAGES/foreman_openscap.mo +0 -0
  56. data/locale/ko/foreman_openscap.po +616 -0
  57. data/locale/pt_BR/LC_MESSAGES/foreman_openscap.mo +0 -0
  58. data/locale/pt_BR/foreman_openscap.po +616 -0
  59. data/locale/ru/LC_MESSAGES/foreman_openscap.mo +0 -0
  60. data/locale/ru/foreman_openscap.po +617 -0
  61. data/locale/sv_SE/LC_MESSAGES/foreman_openscap.mo +0 -0
  62. data/locale/sv_SE/foreman_openscap.po +616 -0
  63. data/locale/zanata.xml +29 -0
  64. data/locale/zh_CN/LC_MESSAGES/foreman_openscap.mo +0 -0
  65. data/locale/zh_CN/foreman_openscap.po +616 -0
  66. data/locale/zh_TW/LC_MESSAGES/foreman_openscap.mo +0 -0
  67. data/locale/zh_TW/foreman_openscap.po +616 -0
  68. data/test/factories/policy_factory.rb +2 -2
  69. data/test/functional/api/v2/compliance/policies_controller_test.rb +7 -3
  70. data/test/test_plugin_helper.rb +35 -37
  71. data/test/unit/concerns/openscap_proxy_extenstions_test.rb +21 -0
  72. data/test/unit/openscap_host_test.rb +3 -1
  73. data/test/unit/policy_test.rb +125 -0
  74. data/test/unit/scap_content_test.rb +5 -0
  75. metadata +231 -198
metadata CHANGED
@@ -1,269 +1,302 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: foreman_openscap
3
- version: !ruby/object:Gem::Version
4
- version: 0.5.4
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.6.0
5
5
  platform: ruby
6
- authors:
7
- - !binary |
8
- xaBpbW9uIEx1a2HFocOtaw==
9
-
6
+ authors:
7
+ - "Šimon Lukašík"
10
8
  - Shlomi Zadok
11
9
  - Marek Hulan
12
10
  - Ondrej Prazak
13
11
  autorequire:
14
12
  bindir: bin
15
13
  cert_chain: []
16
-
17
- date: 2016-06-02 00:00:00 Z
18
- dependencies:
19
- - !ruby/object:Gem::Dependency
14
+ date: 2016-09-01 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
20
17
  name: deface
21
- prerelease: false
22
- requirement: &id001 !ruby/object:Gem::Requirement
23
- requirements:
24
- - - <
25
- - !ruby/object:Gem::Version
26
- version: "2.0"
18
+ requirement: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '2.0'
27
23
  type: :runtime
28
- version_requirements: *id001
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "<"
28
+ - !ruby/object:Gem::Version
29
+ version: '2.0'
29
30
  description: Foreman plug-in for managing security compliance reports
30
- email:
31
+ email:
31
32
  - slukasik@redhat.com
32
33
  executables: []
33
-
34
34
  extensions: []
35
-
36
35
  extra_rdoc_files: []
37
-
38
- files:
39
- - app/services/foreman_openscap/host_report_dashboard/data.rb
40
- - app/services/foreman_openscap/policy_dashboard/data.rb
41
- - app/services/foreman_openscap/report_dashboard/data.rb
42
- - app/services/foreman_openscap/arf_report_status_calculator.rb
43
- - app/views/dashboard/_compliance_host_reports_widget.html.erb
44
- - app/views/dashboard/_compliance_reports_breakdown_widget.html.erb
45
- - app/views/arf_reports/index.html.erb
46
- - app/views/arf_reports/_detailed_message.html.erb
47
- - app/views/arf_reports/delete_multiple.html.erb
48
- - app/views/arf_reports/show.html.erb
49
- - app/views/arf_reports/show_html.html.erb
50
- - app/views/arf_reports/_output.html.erb
51
- - app/views/arf_reports/_list.html.erb
52
- - app/views/arf_reports/_metrics.html.erb
53
- - app/views/scap_contents/welcome.html.erb
54
- - app/views/scap_contents/index.html.erb
55
- - app/views/scap_contents/_form.html.erb
56
- - app/views/scap_contents/new.html.erb
57
- - app/views/scap_contents/edit.html.erb
58
- - app/views/scap_contents/_list.html.erb
59
- - app/views/api/v2/compliance/arf_reports/index.json.rabl
60
- - app/views/api/v2/compliance/arf_reports/show.json.rabl
61
- - app/views/api/v2/compliance/arf_reports/base.json.rabl
62
- - app/views/api/v2/compliance/arf_reports/main.json.rabl
63
- - app/views/api/v2/compliance/common/_org.json.rabl
64
- - app/views/api/v2/compliance/common/_loc.json.rabl
65
- - app/views/api/v2/compliance/scap_contents/index.json.rabl
66
- - app/views/api/v2/compliance/scap_contents/show.json.rabl
67
- - app/views/api/v2/compliance/scap_contents/base.json.rabl
68
- - app/views/api/v2/compliance/scap_contents/main.json.rabl
69
- - app/views/api/v2/compliance/policies/index.json.rabl
70
- - app/views/api/v2/compliance/policies/create.json.rabl
71
- - app/views/api/v2/compliance/policies/show.json.rabl
72
- - app/views/api/v2/compliance/policies/base.json.rabl
73
- - app/views/api/v2/compliance/policies/main.json.rabl
74
- - app/views/policy_dashboard/index.html.erb
75
- - app/views/policy_dashboard/_policy_chart_widget.html.erb
76
- - app/views/policy_dashboard/_policy_reports.html.erb
77
- - app/views/policy_dashboard/_policy_status_widget.html.erb
78
- - app/views/policies/welcome.html.erb
79
- - app/views/policies/index.html.erb
80
- - app/views/policies/_form.html.erb
81
- - app/views/policies/new.html.erb
82
- - app/views/policies/show.html.erb
83
- - app/views/policies/steps/_locations_form.html.erb
84
- - app/views/policies/steps/_organizations_form.html.erb
85
- - app/views/policies/steps/_hostgroups_form.html.erb
86
- - app/views/policies/steps/_step_form.html.erb
87
- - app/views/policies/steps/_scap_content_form.html.erb
88
- - app/views/policies/steps/_schedule_form.html.erb
89
- - app/views/policies/steps/_create_policy_form.html.erb
90
- - app/views/policies/edit.html.erb
91
- - app/views/policies/create.html.erb
92
- - app/views/policies/_list.html.erb
93
- - app/views/policies/disassociate_multiple_hosts.html.erb
94
- - app/views/policies/select_multiple_hosts.html.erb
95
- - app/views/policies/_scap_content_results.html.erb
96
- - app/views/foreman_openscap/policy_mailer/_policy.erb
97
- - app/views/foreman_openscap/policy_mailer/_hosts.erb
98
- - app/views/foreman_openscap/policy_mailer/_list.erb
99
- - app/views/foreman_openscap/policy_mailer/_dashboard.erb
100
- - app/views/foreman_openscap/policy_mailer/policy_summary.erb
101
- - app/views/compliance_hosts/show.html.erb
102
- - app/views/compliance_hosts/_compliance_status.erb
103
- - app/views/compliance_hosts/_openscap_proxy.html.erb
104
- - app/controllers/arf_reports_controller.rb
105
- - app/controllers/compliance_hosts_controller.rb
106
- - app/controllers/compliance_dashboard_controller.rb
107
- - app/controllers/scap_contents_controller.rb
108
- - app/controllers/policy_dashboard_controller.rb
109
- - app/controllers/concerns/foreman_openscap/hosts_controller_extensions.rb
110
- - app/controllers/concerns/foreman_openscap/hostgroups_controller_extensions.rb
111
- - app/controllers/api/v2/compliance/arf_reports_controller.rb
112
- - app/controllers/api/v2/compliance/scap_contents_controller.rb
113
- - app/controllers/api/v2/compliance/policies_controller.rb
114
- - app/controllers/policies_controller.rb
115
- - app/lib/proxy_api/migration.rb
116
- - app/lib/proxy_api/available_proxy.rb
117
- - app/lib/proxy_api/openscap.rb
118
- - app/assets/javascripts/foreman_openscap/policy_edit.js
119
- - app/assets/javascripts/foreman_openscap/scap_hosts_show.js
120
- - app/assets/javascripts/foreman_openscap/load_report.js
36
+ files:
37
+ - LICENSE
38
+ - README.md
121
39
  - app/assets/javascripts/foreman_openscap/arf_reports.js
40
+ - app/assets/javascripts/foreman_openscap/load_report.js
122
41
  - app/assets/javascripts/foreman_openscap/period_selector.js
42
+ - app/assets/javascripts/foreman_openscap/policy_edit.js
123
43
  - app/assets/javascripts/foreman_openscap/reports.js
124
- - app/assets/stylesheets/foreman_openscap/reports.css
44
+ - app/assets/javascripts/foreman_openscap/scap_hosts_show.js
125
45
  - app/assets/stylesheets/foreman_openscap/policy.css
126
- - app/mailers/foreman_openscap/policy_mailer.rb
127
- - app/helpers/policy_dashboard_helper.rb
46
+ - app/assets/stylesheets/foreman_openscap/reports.css
47
+ - app/controllers/api/v2/compliance/arf_reports_controller.rb
48
+ - app/controllers/api/v2/compliance/policies_controller.rb
49
+ - app/controllers/api/v2/compliance/scap_contents_controller.rb
50
+ - app/controllers/arf_reports_controller.rb
51
+ - app/controllers/compliance_dashboard_controller.rb
52
+ - app/controllers/compliance_hosts_controller.rb
53
+ - app/controllers/concerns/foreman/controller/parameters/policy.rb
54
+ - app/controllers/concerns/foreman/controller/parameters/policy_api.rb
55
+ - app/controllers/concerns/foreman/controller/parameters/scap_content.rb
56
+ - app/controllers/concerns/foreman_openscap/hostgroups_controller_extensions.rb
57
+ - app/controllers/concerns/foreman_openscap/hosts_controller_extensions.rb
58
+ - app/controllers/policies_controller.rb
59
+ - app/controllers/policy_dashboard_controller.rb
60
+ - app/controllers/scap_contents_controller.rb
61
+ - app/helpers/arf_report_dashboard_helper.rb
62
+ - app/helpers/arf_reports_helper.rb
63
+ - app/helpers/compliance_dashboard_helper.rb
128
64
  - app/helpers/compliance_hosts_helper.rb
129
- - app/helpers/policies_helper.rb
130
- - app/helpers/dashboard_helper.rb
131
65
  - app/helpers/concerns/foreman_openscap/hosts_helper_extensions.rb
132
66
  - app/helpers/concerns/foreman_openscap/lookup_keys_helper_extensions.rb
133
- - app/helpers/arf_report_dashboard_helper.rb
134
- - app/helpers/arf_reports_helper.rb
135
- - app/overrides/hostgroups/form/select_openscap_proxy.rb
136
- - app/overrides/hosts/form/select_openscap_proxy.rb
137
- - app/overrides/hosts/overview/host_compliance_status.rb
138
- - app/models/concerns/foreman_openscap/smart_proxy_extensions.rb
67
+ - app/helpers/policies_helper.rb
68
+ - app/helpers/policy_dashboard_helper.rb
69
+ - app/lib/proxy_api/available_proxy.rb
70
+ - app/lib/proxy_api/migration.rb
71
+ - app/lib/proxy_api/openscap.rb
72
+ - app/mailers/foreman_openscap/policy_mailer.rb
139
73
  - app/models/concerns/foreman_openscap/compliance_status_scoped_search.rb
140
- - app/models/concerns/foreman_openscap/hostgroup_extensions.rb
141
74
  - app/models/concerns/foreman_openscap/host_extensions.rb
142
- - app/models/concerns/foreman_openscap/openscap_proxy_extensions.rb
143
- - app/models/concerns/foreman_openscap/openscap_proxy_core_extensions.rb
75
+ - app/models/concerns/foreman_openscap/hostgroup_extensions.rb
144
76
  - app/models/concerns/foreman_openscap/log_extensions.rb
145
- - app/models/foreman_openscap/policy.rb
146
- - app/models/foreman_openscap/compliance_status.rb
77
+ - app/models/concerns/foreman_openscap/openscap_proxy_core_extensions.rb
78
+ - app/models/concerns/foreman_openscap/openscap_proxy_extensions.rb
79
+ - app/models/concerns/foreman_openscap/smart_proxy_extensions.rb
80
+ - app/models/foreman_openscap/arf_report.rb
147
81
  - app/models/foreman_openscap/asset.rb
148
82
  - app/models/foreman_openscap/asset_policy.rb
149
- - app/models/foreman_openscap/scap_content_profile.rb
83
+ - app/models/foreman_openscap/compliance_status.rb
84
+ - app/models/foreman_openscap/policy.rb
150
85
  - app/models/foreman_openscap/policy_arf_report.rb
151
- - app/models/foreman_openscap/arf_report.rb
152
86
  - app/models/foreman_openscap/policy_revision.rb
153
87
  - app/models/foreman_openscap/scap_content.rb
88
+ - app/models/foreman_openscap/scap_content_profile.rb
89
+ - app/overrides/hostgroups/form/select_openscap_proxy.rb
90
+ - app/overrides/hosts/form/select_openscap_proxy.rb
91
+ - app/overrides/hosts/overview/host_compliance_status.rb
92
+ - app/services/foreman_openscap/arf_report_status_calculator.rb
93
+ - app/services/foreman_openscap/host_report_dashboard/data.rb
94
+ - app/services/foreman_openscap/policy_dashboard/data.rb
95
+ - app/services/foreman_openscap/report_dashboard/data.rb
96
+ - app/views/api/v2/compliance/arf_reports/base.json.rabl
97
+ - app/views/api/v2/compliance/arf_reports/index.json.rabl
98
+ - app/views/api/v2/compliance/arf_reports/main.json.rabl
99
+ - app/views/api/v2/compliance/arf_reports/show.json.rabl
100
+ - app/views/api/v2/compliance/common/_loc.json.rabl
101
+ - app/views/api/v2/compliance/common/_org.json.rabl
102
+ - app/views/api/v2/compliance/policies/base.json.rabl
103
+ - app/views/api/v2/compliance/policies/create.json.rabl
104
+ - app/views/api/v2/compliance/policies/index.json.rabl
105
+ - app/views/api/v2/compliance/policies/main.json.rabl
106
+ - app/views/api/v2/compliance/policies/show.json.rabl
107
+ - app/views/api/v2/compliance/scap_contents/base.json.rabl
108
+ - app/views/api/v2/compliance/scap_contents/index.json.rabl
109
+ - app/views/api/v2/compliance/scap_contents/main.json.rabl
110
+ - app/views/api/v2/compliance/scap_contents/show.json.rabl
111
+ - app/views/arf_reports/_detailed_message.html.erb
112
+ - app/views/arf_reports/_list.html.erb
113
+ - app/views/arf_reports/_metrics.html.erb
114
+ - app/views/arf_reports/_output.html.erb
115
+ - app/views/arf_reports/delete_multiple.html.erb
116
+ - app/views/arf_reports/index.html.erb
117
+ - app/views/arf_reports/show.html.erb
118
+ - app/views/arf_reports/show_html.html.erb
119
+ - app/views/compliance_hosts/_compliance_status.erb
120
+ - app/views/compliance_hosts/_openscap_proxy.html.erb
121
+ - app/views/compliance_hosts/show.html.erb
122
+ - app/views/dashboard/_compliance_host_reports_widget.html.erb
123
+ - app/views/dashboard/_compliance_reports_breakdown_widget.html.erb
124
+ - app/views/foreman_openscap/policy_mailer/_dashboard.erb
125
+ - app/views/foreman_openscap/policy_mailer/_hosts.erb
126
+ - app/views/foreman_openscap/policy_mailer/_list.erb
127
+ - app/views/foreman_openscap/policy_mailer/_policy.erb
128
+ - app/views/foreman_openscap/policy_mailer/policy_summary.erb
129
+ - app/views/policies/_form.html.erb
130
+ - app/views/policies/_list.html.erb
131
+ - app/views/policies/_scap_content_results.html.erb
132
+ - app/views/policies/create.html.erb
133
+ - app/views/policies/disassociate_multiple_hosts.html.erb
134
+ - app/views/policies/edit.html.erb
135
+ - app/views/policies/index.html.erb
136
+ - app/views/policies/new.html.erb
137
+ - app/views/policies/select_multiple_hosts.html.erb
138
+ - app/views/policies/show.html.erb
139
+ - app/views/policies/steps/_create_policy_form.html.erb
140
+ - app/views/policies/steps/_hostgroups_form.html.erb
141
+ - app/views/policies/steps/_locations_form.html.erb
142
+ - app/views/policies/steps/_organizations_form.html.erb
143
+ - app/views/policies/steps/_scap_content_form.html.erb
144
+ - app/views/policies/steps/_schedule_form.html.erb
145
+ - app/views/policies/steps/_step_form.html.erb
146
+ - app/views/policies/welcome.html.erb
147
+ - app/views/policy_dashboard/_policy_chart_widget.html.erb
148
+ - app/views/policy_dashboard/_policy_reports.html.erb
149
+ - app/views/policy_dashboard/_policy_status_widget.html.erb
150
+ - app/views/policy_dashboard/index.html.erb
151
+ - app/views/scap_contents/_form.html.erb
152
+ - app/views/scap_contents/_list.html.erb
153
+ - app/views/scap_contents/edit.html.erb
154
+ - app/views/scap_contents/index.html.erb
155
+ - app/views/scap_contents/new.html.erb
156
+ - app/views/scap_contents/welcome.html.erb
154
157
  - config/routes.rb
155
- - db/seeds.d/openscap_policy_notification.rb
156
- - db/seeds.d/openscap_feature.rb
157
- - db/migrate/20141105174625_add_description_to_scaptimony_policy_revisions.rb
158
- - db/migrate/20150929152345_move_arf_reports_to_reports_table.rb
159
- - db/migrate/20141121120326_create_scaptimony_arf_report_breakdowns.rb
158
+ - db/migrate/20141013172051_create_scaptimony_policies.rb
160
159
  - db/migrate/20141014105333_create_scaptimony_assets.rb
161
- - db/migrate/20151119155419_add_arf_fields_to_message.rb
162
- - db/migrate/20150115155947_add_scaptimony_scap_content_digest.rb
163
- - db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
164
- - db/migrate/20141216154502_rename_scaptimony_asset_policies.rb
160
+ - db/migrate/20141015092642_create_scaptimony_arf_reports.rb
161
+ - db/migrate/20141015115511_add_arf_report_unique_constraint.rb
162
+ - db/migrate/20141104164201_create_scaptimony_scap_contents.rb
163
+ - db/migrate/20141104171545_create_scaptimony_policy_revisions.rb
164
+ - db/migrate/20141105174625_add_description_to_scaptimony_policy_revisions.rb
165
+ - db/migrate/20141105174834_add_columns_to_scaptimony_policies.rb
165
166
  - db/migrate/20141107091756_add_columns_to_scaptimony_scap_contents.rb
166
- - db/migrate/20150112152944_create_scaptimony_arf_report_raws.rb
167
- - db/migrate/20141206211151_create_scaptimony_assets_policies.rb
168
- - db/migrate/20141119164918_create_scaptimony_xccdf_results.rb
167
+ - db/migrate/20141111104519_add_constraint_to_scaptimony_scap_contents.rb
168
+ - db/migrate/20141113221054_create_scaptimony_scap_content_profiles.rb
169
+ - db/migrate/20141116170632_remove_xccdf_profile_from_scaptimony_policies.rb
169
170
  - db/migrate/20141116171305_add_profile_to_scaptimony_policies.rb
170
- - db/migrate/20141015115511_add_arf_report_unique_constraint.rb
171
- - db/migrate/20150821100137_migrate_from_scaptimony.rb
172
171
  - db/migrate/20141118142954_add_constraint_to_scaptimony_policies.rb
173
- - db/migrate/20150925124959_create_policy_arf_reports.rb
174
- - db/migrate/20150114210634_rename_scaptimony_arf_report_raw_raw.rb
175
- - db/migrate/20150116083129_add_day_of_month_and_cron_line_to_scaptimony_policy.rb
176
- - db/migrate/20141105174834_add_columns_to_scaptimony_policies.rb
177
- - db/migrate/20150827123826_remove_scaptimony_permissions.rb
172
+ - db/migrate/20141119164918_create_scaptimony_xccdf_results.rb
178
173
  - db/migrate/20141119175434_create_scaptimony_xccdf_rules.rb
179
174
  - db/migrate/20141119182606_create_scaptimony_xccdf_rule_results.rb
180
- - db/migrate/20141013172051_create_scaptimony_policies.rb
181
- - db/migrate/20151118165125_add_size_to_scap_content.rb
182
- - db/migrate/20141111104519_add_constraint_to_scaptimony_scap_contents.rb
183
- - db/migrate/20150929124853_add_result_to_logs.rb
175
+ - db/migrate/20141121120326_create_scaptimony_arf_report_breakdowns.rb
184
176
  - db/migrate/20141121164042_replace_arf_report_breakdown_view.rb
185
- - db/migrate/20150111085317_polymorph_asset.rb
177
+ - db/migrate/20141206211151_create_scaptimony_assets_policies.rb
186
178
  - db/migrate/20141214112917_add_scap_file_to_scap_content.rb
187
- - db/migrate/20141015092642_create_scaptimony_arf_reports.rb
179
+ - db/migrate/20141216154502_rename_scaptimony_asset_policies.rb
180
+ - db/migrate/20150111085317_polymorph_asset.rb
181
+ - db/migrate/20150112152944_create_scaptimony_arf_report_raws.rb
182
+ - db/migrate/20150114210634_rename_scaptimony_arf_report_raw_raw.rb
183
+ - db/migrate/20150115155947_add_scaptimony_scap_content_digest.rb
184
+ - db/migrate/20150116083129_add_day_of_month_and_cron_line_to_scaptimony_policy.rb
185
+ - db/migrate/20150821100137_migrate_from_scaptimony.rb
186
+ - db/migrate/20150827123826_remove_scaptimony_permissions.rb
187
+ - db/migrate/20150925124959_create_policy_arf_reports.rb
188
+ - db/migrate/20150929124853_add_result_to_logs.rb
189
+ - db/migrate/20150929152345_move_arf_reports_to_reports_table.rb
190
+ - db/migrate/20151118165125_add_size_to_scap_content.rb
191
+ - db/migrate/20151119155419_add_arf_fields_to_message.rb
188
192
  - db/migrate/20151120090851_add_openscap_proxy_to_host_and_hostgroup.rb
189
- - db/migrate/20141116170632_remove_xccdf_profile_from_scaptimony_policies.rb
190
- - db/migrate/20141104171545_create_scaptimony_policy_revisions.rb
191
- - db/migrate/20141104164201_create_scaptimony_scap_contents.rb
193
+ - db/migrate/20160830113437_remove_deleted_policy.rb
194
+ - db/seeds.d/openscap_feature.rb
195
+ - db/seeds.d/openscap_policy_notification.rb
192
196
  - lib/foreman_openscap.rb
193
- - lib/tasks/foreman_openscap_tasks.rake
194
- - lib/foreman_openscap/version.rb
195
197
  - lib/foreman_openscap/bulk_upload.rb
196
198
  - lib/foreman_openscap/data_migration.rb
197
199
  - lib/foreman_openscap/engine.rb
198
200
  - lib/foreman_openscap/helper.rb
199
- - LICENSE
200
- - README.md
201
- - test/factories/compliance_log_factory.rb
202
- - test/factories/compliance_host_factory.rb
203
- - test/factories/scap_content_related.rb
204
- - test/factories/asset_factory.rb
201
+ - lib/foreman_openscap/version.rb
202
+ - lib/tasks/foreman_openscap_tasks.rake
203
+ - locale/Makefile
204
+ - locale/de/LC_MESSAGES/foreman_openscap.mo
205
+ - locale/de/foreman_openscap.po
206
+ - locale/en_GB/LC_MESSAGES/foreman_openscap.mo
207
+ - locale/en_GB/foreman_openscap.po
208
+ - locale/es/LC_MESSAGES/foreman_openscap.mo
209
+ - locale/es/foreman_openscap.po
210
+ - locale/foreman_openscap.pot
211
+ - locale/fr/LC_MESSAGES/foreman_openscap.mo
212
+ - locale/fr/foreman_openscap.po
213
+ - locale/gl/LC_MESSAGES/foreman_openscap.mo
214
+ - locale/gl/foreman_openscap.po
215
+ - locale/it/LC_MESSAGES/foreman_openscap.mo
216
+ - locale/it/foreman_openscap.po
217
+ - locale/ja/LC_MESSAGES/foreman_openscap.mo
218
+ - locale/ja/foreman_openscap.po
219
+ - locale/ko/LC_MESSAGES/foreman_openscap.mo
220
+ - locale/ko/foreman_openscap.po
221
+ - locale/pt_BR/LC_MESSAGES/foreman_openscap.mo
222
+ - locale/pt_BR/foreman_openscap.po
223
+ - locale/ru/LC_MESSAGES/foreman_openscap.mo
224
+ - locale/ru/foreman_openscap.po
225
+ - locale/sv_SE/LC_MESSAGES/foreman_openscap.mo
226
+ - locale/sv_SE/foreman_openscap.po
227
+ - locale/zanata.xml
228
+ - locale/zh_CN/LC_MESSAGES/foreman_openscap.mo
229
+ - locale/zh_CN/foreman_openscap.po
230
+ - locale/zh_TW/LC_MESSAGES/foreman_openscap.mo
231
+ - locale/zh_TW/foreman_openscap.po
205
232
  - test/factories/arf_report_factory.rb
206
- - test/factories/policy_factory.rb
233
+ - test/factories/asset_factory.rb
234
+ - test/factories/compliance_host_factory.rb
235
+ - test/factories/compliance_log_factory.rb
207
236
  - test/factories/policy_arf_report_factory.rb
237
+ - test/factories/policy_factory.rb
238
+ - test/factories/scap_content_related.rb
208
239
  - test/files/scap_contents/ssg-fedora-ds.xml
209
- - test/unit/services/report_dashboard/data_test.rb
210
- - test/unit/compliance_status_test.rb
240
+ - test/functional/api/v2/compliance/arf_reports_controller_test.rb
241
+ - test/functional/api/v2/compliance/policies_controller_test.rb
242
+ - test/functional/api/v2/compliance/scap_contents_controller_test.rb
243
+ - test/functional/arf_reports_controller_test.rb
244
+ - test/lib/foreman_openscap/bulk_upload_test.rb
245
+ - test/test_plugin_helper.rb
246
+ - test/unit/arf_report_status_calculator_test.rb
211
247
  - test/unit/arf_report_test.rb
248
+ - test/unit/compliance_status_test.rb
249
+ - test/unit/concerns/openscap_proxy_extenstions_test.rb
250
+ - test/unit/openscap_host_test.rb
212
251
  - test/unit/policy_mailer_test.rb
252
+ - test/unit/policy_test.rb
213
253
  - test/unit/scap_content_test.rb
214
- - test/unit/arf_report_status_calculator_test.rb
215
- - test/unit/openscap_host_test.rb
216
- - test/test_plugin_helper.rb
217
- - test/lib/foreman_openscap/bulk_upload_test.rb
218
- - test/functional/arf_reports_controller_test.rb
219
- - test/functional/api/v2/compliance/arf_reports_controller_test.rb
220
- - test/functional/api/v2/compliance/scap_contents_controller_test.rb
221
- - test/functional/api/v2/compliance/policies_controller_test.rb
254
+ - test/unit/services/report_dashboard/data_test.rb
222
255
  homepage: https://github.com/OpenSCAP/foreman_openscap
223
- licenses:
256
+ licenses:
224
257
  - GPL-3.0
225
258
  metadata: {}
226
-
227
259
  post_install_message:
228
260
  rdoc_options: []
229
-
230
- require_paths:
261
+ require_paths:
231
262
  - lib
232
- required_ruby_version: !ruby/object:Gem::Requirement
233
- requirements:
234
- - &id002
235
- - ">="
236
- - !ruby/object:Gem::Version
237
- version: "0"
238
- required_rubygems_version: !ruby/object:Gem::Requirement
239
- requirements:
240
- - *id002
263
+ required_ruby_version: !ruby/object:Gem::Requirement
264
+ requirements:
265
+ - - ">="
266
+ - !ruby/object:Gem::Version
267
+ version: '0'
268
+ required_rubygems_version: !ruby/object:Gem::Requirement
269
+ requirements:
270
+ - - ">="
271
+ - !ruby/object:Gem::Version
272
+ version: '0'
241
273
  requirements: []
242
-
243
274
  rubyforge_project:
244
- rubygems_version: 2.0.17
275
+ rubygems_version: 2.4.6
245
276
  signing_key:
246
277
  specification_version: 4
247
278
  summary: Foreman plug-in for displaying OpenSCAP audit reports
248
- test_files:
249
- - test/factories/compliance_log_factory.rb
279
+ test_files:
280
+ - test/functional/api/v2/compliance/policies_controller_test.rb
281
+ - test/functional/api/v2/compliance/scap_contents_controller_test.rb
282
+ - test/functional/api/v2/compliance/arf_reports_controller_test.rb
283
+ - test/functional/arf_reports_controller_test.rb
284
+ - test/factories/asset_factory.rb
250
285
  - test/factories/compliance_host_factory.rb
251
286
  - test/factories/scap_content_related.rb
252
- - test/factories/asset_factory.rb
287
+ - test/factories/compliance_log_factory.rb
253
288
  - test/factories/arf_report_factory.rb
254
- - test/factories/policy_factory.rb
255
289
  - test/factories/policy_arf_report_factory.rb
290
+ - test/factories/policy_factory.rb
256
291
  - test/files/scap_contents/ssg-fedora-ds.xml
257
- - test/unit/services/report_dashboard/data_test.rb
292
+ - test/lib/foreman_openscap/bulk_upload_test.rb
293
+ - test/test_plugin_helper.rb
294
+ - test/unit/arf_report_status_calculator_test.rb
258
295
  - test/unit/compliance_status_test.rb
259
296
  - test/unit/arf_report_test.rb
260
297
  - test/unit/policy_mailer_test.rb
261
- - test/unit/scap_content_test.rb
262
- - test/unit/arf_report_status_calculator_test.rb
263
298
  - test/unit/openscap_host_test.rb
264
- - test/test_plugin_helper.rb
265
- - test/lib/foreman_openscap/bulk_upload_test.rb
266
- - test/functional/arf_reports_controller_test.rb
267
- - test/functional/api/v2/compliance/arf_reports_controller_test.rb
268
- - test/functional/api/v2/compliance/scap_contents_controller_test.rb
269
- - test/functional/api/v2/compliance/policies_controller_test.rb
299
+ - test/unit/scap_content_test.rb
300
+ - test/unit/concerns/openscap_proxy_extenstions_test.rb
301
+ - test/unit/services/report_dashboard/data_test.rb
302
+ - test/unit/policy_test.rb