Skip to content

Commit

Permalink
Update test scenarios headers
Browse files Browse the repository at this point in the history
Use the "variables" keyword in the test scenario headers instead of the
"profiles" keyword. These test scenarios aren't a regression test
special to STIG. The profile was set in order to set the XCCDF Value
value. This is legacy usage of the "profiles" keyword and we recommend
using "variables" for this situation.
  • Loading branch information
jan-cerny committed May 13, 2024
1 parent 8526b4e commit 24eb0c3
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash
# packages = chrony
#
# profiles = xccdf_org.ssgproject.content_profile_stig
# variables = var_time_service_set_maxpoll=16

{{{ bash_package_remove("ntp") }}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
# packages = chrony
# variables = var_time_service_set_maxpoll=16

{{{ bash_package_remove("ntp") }}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
# packages = chrony
# variables = var_time_service_set_maxpoll=16

{{{ bash_package_remove("ntp") }}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# packages = chrony
# remediation = none
# profiles = xccdf_org.ssgproject.content_profile_stig
# variables = var_time_service_set_maxpoll=16

{{{ bash_package_remove("ntp") }}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash
# packages = chrony
#
# profiles = xccdf_org.ssgproject.content_profile_stig
# variables = var_time_service_set_maxpoll=16
# platform = Oracle Linux 7,Red Hat Enterprise Linux 7

{{{ bash_package_remove("ntp") }}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash
# packages = chrony
#
# profiles = xccdf_org.ssgproject.content_profile_stig
# variables = var_time_service_set_maxpoll=16

{{{ bash_package_remove("ntp") }}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash
# packages = chrony
#
# profiles = xccdf_org.ssgproject.content_profile_stig
# variables = var_time_service_set_maxpoll=16

{{{ bash_package_remove("ntp") }}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash
# packages = chrony
#
# profiles = xccdf_org.ssgproject.content_profile_stig
# variables = var_time_service_set_maxpoll=16

{{{ bash_package_remove("ntp") }}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash
# packages = chrony
#
# profiles = xccdf_org.ssgproject.content_profile_stig
# variables = var_time_service_set_maxpoll=16

{{{ bash_package_remove("ntp") }}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash
# packages = ntp
#
# profiles = xccdf_org.ssgproject.content_profile_stig
# variables = var_time_service_set_maxpoll=16
# platform = Oracle Linux 7,Red Hat Enterprise Linux 7

{{{ bash_package_remove("chrony") }}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash
# packages = ntp
#
# profiles = xccdf_org.ssgproject.content_profile_stig
# variables = var_time_service_set_maxpoll=16
# platform = Oracle Linux 7,Red Hat Enterprise Linux 7

{{{ bash_package_remove("chrony") }}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash
# packages = ntp
#
# profiles = xccdf_org.ssgproject.content_profile_stig
# variables = var_time_service_set_maxpoll=16
# platform = Oracle Linux 7,Red Hat Enterprise Linux 7

{{{ bash_package_remove("chrony") }}}
Expand Down

0 comments on commit 24eb0c3

Please sign in to comment.