foreman_openscap 4.0.2 → 4.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/db/seeds.d/75-job_templates.rb +2 -2
- data/lib/foreman_openscap/version.rb +1 -1
- metadata +37 -37
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9252b8e5a2b6e1d8c6fb846ad7d9057ba60791dd5f1dba7a64bb5e38899ddb56
|
4
|
+
data.tar.gz: ce78ad017257f0ed398b3e898d4e3245083e0fe6d0c0011e89f4760049090969
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c15b7190aea03e446fa77c35c162453d93c755888630efc4db503543f823769dba36a3ab071631d522d9ed39d556ab0637758e9dd9cc2e35f019f0c7a20da7e3
|
7
|
+
data.tar.gz: 14de584928d7d4f2913deb9c93b9d634a8f5c491929eed27242c8ce05f9cd65927b3df2e9bf1f348d4285cd112500578516b7d0e4bd505b8469216bad65d14aa
|
@@ -7,9 +7,9 @@ if ForemanOpenscap.with_remote_execution?
|
|
7
7
|
sync = !Rails.env.test? && Setting[:remote_execution_sync_templates]
|
8
8
|
# import! was renamed to import_raw! around 1.3.1
|
9
9
|
if JobTemplate.respond_to?('import_raw!')
|
10
|
-
template = JobTemplate.import_raw!(File.read(template), :default => true, :
|
10
|
+
template = JobTemplate.import_raw!(File.read(template), :default => true, :lock => true, :update => sync)
|
11
11
|
else
|
12
|
-
template = JobTemplate.import!(File.read(template), :default => true, :
|
12
|
+
template = JobTemplate.import!(File.read(template), :default => true, :lock => true, :update => sync)
|
13
13
|
end
|
14
14
|
template.organizations = organizations if SETTINGS[:organizations_enabled] && template.present?
|
15
15
|
template.locations = locations if SETTINGS[:locations_enabled] && template.present?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_openscap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- slukasik@redhat.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08
|
11
|
+
date: 2020-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -349,52 +349,52 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
349
349
|
- !ruby/object:Gem::Version
|
350
350
|
version: '0'
|
351
351
|
requirements: []
|
352
|
-
rubygems_version: 3.
|
352
|
+
rubygems_version: 3.0.3
|
353
353
|
signing_key:
|
354
354
|
specification_version: 4
|
355
355
|
summary: Foreman plug-in for displaying OpenSCAP audit reports
|
356
356
|
test_files:
|
357
|
+
- test/factories/policy_factory.rb
|
358
|
+
- test/factories/compliance_host_factory.rb
|
357
359
|
- test/factories/arf_report_factory.rb
|
358
360
|
- test/factories/asset_factory.rb
|
359
|
-
- test/factories/compliance_host_factory.rb
|
360
361
|
- test/factories/compliance_log_factory.rb
|
361
|
-
- test/factories/policy_arf_report_factory.rb
|
362
|
-
- test/factories/policy_factory.rb
|
363
362
|
- test/factories/scap_content_related.rb
|
364
|
-
- test/
|
365
|
-
- test/
|
366
|
-
- test/
|
367
|
-
- test/
|
368
|
-
- test/
|
369
|
-
- test/
|
370
|
-
- test/
|
371
|
-
- test/
|
372
|
-
- test/
|
373
|
-
- test/
|
363
|
+
- test/factories/policy_arf_report_factory.rb
|
364
|
+
- test/test_plugin_helper.rb
|
365
|
+
- test/unit/policy_test.rb
|
366
|
+
- test/unit/services/lookup_key_overrider_test.rb
|
367
|
+
- test/unit/services/report_dashboard/data_test.rb
|
368
|
+
- test/unit/services/hostgroup_overrider_test.rb
|
369
|
+
- test/unit/services/config_name_service_test.rb
|
370
|
+
- test/unit/services/tailoring_files_proxy_check_test.rb
|
371
|
+
- test/unit/policy_mailer_test.rb
|
372
|
+
- test/unit/tailoring_file_test.rb
|
373
|
+
- test/unit/scap_content_test.rb
|
374
|
+
- test/unit/message_cleaner_test.rb
|
375
|
+
- test/unit/arf_report_status_calculator_test.rb
|
376
|
+
- test/unit/compliance_status_test.rb
|
377
|
+
- test/unit/openscap_host_test.rb
|
378
|
+
- test/unit/concerns/openscap_proxy_extenstions_test.rb
|
379
|
+
- test/unit/concerns/host_extensions_test.rb
|
380
|
+
- test/unit/arf_report_test.rb
|
381
|
+
- test/lib/foreman_openscap/bulk_upload_test.rb
|
382
|
+
- test/functional/tailoring_files_controller_test.rb
|
374
383
|
- test/functional/api/v2/compliance/scap_content_profiles_controller_test.rb
|
375
|
-
- test/functional/api/v2/compliance/scap_contents_controller_test.rb
|
376
384
|
- test/functional/api/v2/compliance/tailoring_files_controller_test.rb
|
385
|
+
- test/functional/api/v2/compliance/policies_controller_test.rb
|
386
|
+
- test/functional/api/v2/compliance/scap_contents_controller_test.rb
|
387
|
+
- test/functional/api/v2/compliance/arf_reports_controller_test.rb
|
377
388
|
- test/functional/api/v2/hosts_controller_test.rb
|
378
389
|
- test/functional/arf_reports_controller_test.rb
|
379
390
|
- test/functional/openscap_proxies_controller_test.rb
|
380
|
-
- test/functional/tailoring_files_controller_test.rb
|
381
|
-
- test/helpers/arf_report_dashboard_helper_test.rb
|
382
391
|
- test/helpers/policy_dashboard_helper_test.rb
|
383
|
-
- test/
|
384
|
-
- test/
|
385
|
-
- test/
|
386
|
-
- test/
|
387
|
-
- test/
|
388
|
-
- test/
|
389
|
-
- test/
|
390
|
-
- test/
|
391
|
-
- test/
|
392
|
-
- test/unit/scap_content_test.rb
|
393
|
-
- test/unit/services/config_name_service_test.rb
|
394
|
-
- test/unit/services/hostgroup_overrider_test.rb
|
395
|
-
- test/unit/services/lookup_key_overrider_test.rb
|
396
|
-
- test/unit/services/report_dashboard/data_test.rb
|
397
|
-
- test/unit/services/tailoring_files_proxy_check_test.rb
|
398
|
-
- test/unit/tailoring_file_test.rb
|
399
|
-
- test/unit/policy_test.rb
|
400
|
-
- test/test_plugin_helper.rb
|
392
|
+
- test/helpers/arf_report_dashboard_helper_test.rb
|
393
|
+
- test/files/arf_report/arf_report.json
|
394
|
+
- test/files/arf_report/arf_report_msg_desc_changed.json
|
395
|
+
- test/files/arf_report/arf_report.html
|
396
|
+
- test/files/arf_report/arf_report.bz2
|
397
|
+
- test/files/arf_report/arf_report_msg_value_changed.json
|
398
|
+
- test/files/scap_contents/ssg-fedora-ds.xml
|
399
|
+
- test/files/tailoring_files/ssg-firefox-ds-tailoring.xml
|
400
|
+
- test/files/tailoring_files/ssg-firefox-ds-tailoring-2.xml
|