Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed unnecessary desc statements from controls #62

Merged
merged 1 commit into from
Jun 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions controls/V-73219.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,12 @@

if domain_role != '4' && domain_role != '5'
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
end
if administrator_group.empty?
impact 0.0
desc 'There are no users with administrative privileges on this system, therefore this control is not applicable'
describe 'There are no users with administrative privileges on this system, therefore this control is not applicable' do
skip 'There are no users with administrative privileges on this system, therefore this control is not applicable'
end
Expand Down
3 changes: 0 additions & 3 deletions controls/V-73221.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,21 +89,18 @@

if domain_role != '2' && domain_role != '3'
impact 0.0
desc 'This control applies to member servers and standalone systems. A separate version applies to domain controllers.'
describe 'This control applies to member servers and standalone systems. A separate version applies to domain controllers.' do
skip 'This control applies to member servers and standalone systems. A separate version applies to domain controllers.'
end
end
if is_AD_only_system
impact 0.0
desc 'This system is dedicated to the management of Active Directory, therefore this control is not applicable'
describe 'This system is dedicated to the management of Active Directory, therefore this control is not applicable' do
skip 'This system is dedicated to the management of Active Directory, therefore this control is not applicable'
end
end
if administrator_group.empty?
impact 0.0
desc 'There are no users with administrative privileges on this system, therefore this control is not applicable'
describe 'There are no users with administrative privileges on this system, therefore this control is not applicable' do
skip 'There are no users with administrative privileges on this system, therefore this control is not applicable'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73227.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
end
if backup_operators_group.empty?
impact 0.0
desc 'There are no users in the Backup Operators Group, therefore this control is not applicable'
describe 'There are no users in the Backup Operators Group, therefore this control is not applicable' do
skip 'There are no users in the Backup Operators Group, therefore this control is not applicable'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73233.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@

if shared_accounts.empty?
impact 0.0
desc 'This system does not have any shared accounts, therefore this control is not applicable'
describe 'This system does not have any shared accounts, therefore this control is not applicable' do
skip 'This system does not have any shared accounts, therefore this control is not applicable'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73247.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

if volumes.empty?
impact 0.0
desc 'There are no local volumes on this system, therefore this control is not applicable'
describe 'There are no local volumes on this system, therefore this control is not applicable' do
skip 'There are no local volumes on this system, therefore this control is not applicable'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73257.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
get_printers = command("Get-Printer | Format-List | Findstr /v 'Name ---'")
if get_printers == ''
impact 0.0
desc 'There are no printers configured on this system, therefore this control is not applicable'
describe 'There are no printers configured on this system, therefore this control is not applicable' do
skip 'There are no printers configured on this system, therefore this control is not applicable'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73303.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
is_ftp_installed = command('Get-WindowsFeature Web-Ftp-Server | Select -Expand Installed').stdout.strip
if is_ftp_installed == 'False'
impact 0.0
desc 'FTP is not installed on this system, therefore this control is not applicable'
describe 'FTP is not installed on this system, therefore this control is not applicable' do
skip 'FTP is not installed on this system, therefore this control is not applicable'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73359.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@

if domain_role != '4' && domain_role != '5'
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73361.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@

if domain_role != '4' && domain_role != '5'
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73363.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@

if domain_role != '4' && domain_role != '5'
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73365.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@

if domain_role != '4' && domain_role != '5'
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73367.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@

if domain_role != '4' && domain_role != '5'
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73369.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@
end
else
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable.'
describe 'This system is not a domain controller, therefore this control is not applicable.' do
skip 'This system is not a domain controller, therefore this control is not applicable.'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73371.rb
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@

else
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73375.rb
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@
end
else
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73377.rb
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@

else
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73379.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@

if !(domain_role == '4') && !(domain_role == '5')
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73381.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@

if !(domain_role == '4') && !(domain_role == '5')
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73383.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@

if !(domain_role == '4') && !(domain_role == '5')
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73385.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@

if !(domain_role == '4') && !(domain_role == '5')
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73387.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
end
else
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73389.rb
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@
end
else
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73391.rb
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@

else
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73393.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@

else
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73395.rb
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@

else
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73397.rb
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@

else
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73399.rb
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@

else
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73435.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@

if domain_role != '4' && domain_role != '5'
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73437.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@

if !(domain_role == '4') && !(domain_role == '5')
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73439.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@

if !(domain_role == '4') && !(domain_role == '5')
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73441.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@

if !(domain_role == '4') && !(domain_role == '5')
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73513.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@

if is_domain == 'WORKGROUP'
impact 0.0
desc 'This system is not joined to a domain, therfore this control is not appliable as it does not apply to standalone systems'
describe 'This system is not joined to a domain, therfore this control is not appliable as it does not apply to standalone systems' do
skip 'This system is not joined to a domain, therfore this control is not appliable as it does not apply to standalone systems'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73515.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@

if is_domain == 'WORKGROUP'
impact 0.0
desc 'This system is not joined to a domain, therfore this control is not appliable as it does not apply to standalone systems'
describe 'This system is not joined to a domain, therfore this control is not appliable as it does not apply to standalone systems' do
skip 'This system is not joined to a domain, therfore this control is not appliable as it does not apply to standalone systems'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73517.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@

if is_domain == 'WORKGROUP'
impact 0.0
desc 'This system is not joined to a domain, therfore this control is not appliable as it does not apply to standalone systems'
describe 'This system is not joined to a domain, therfore this control is not appliable as it does not apply to standalone systems' do
skip 'This system is not joined to a domain, therfore this control is not appliable as it does not apply to standalone systems'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73607.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@
end
else
impact 0.0
desc 'This is NOT an unclassified system, therefore this control is not applicable'
describe 'This is NOT an unclassified system, therefore this control is not applicable' do
skip 'This is NOT an unclassified system, therefore this control is not applicable'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73609.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@
end
else
impact 0.0
desc 'This is NOT an unclassified system, therefore this control is not applicable'
describe 'This is NOT an unclassified system, therefore this control is not applicable' do
skip 'This is NOT an unclassified system, therefore this control is not applicable'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73611.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@

if !(domain_role == '4') && !(domain_role == '5')
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73613.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@

if !(domain_role == '4') && !(domain_role == '5')
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73615.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@

if !(domain_role == '4') && !(domain_role == '5')
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
1 change: 0 additions & 1 deletion controls/V-73617.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@

if !(domain_role == '4') && !(domain_role == '5')
impact 0.0
desc 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
describe 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers' do
skip 'This system is not a domain controller, therefore this control is not applicable as it only applies to domain controllers'
end
Expand Down
Loading