Skip to content

Commit 0c0098c

Browse files
committed
Add cis_default banner text
Create a new option with the same contents but with the selector different than "default". Using the "default" selector might cause conflicts in some cases for example when generating profile Ansible Playbooks.
1 parent 71399c1 commit 0c0098c

29 files changed

Lines changed: 56 additions & 50 deletions

controls/ccn_ol9.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -625,11 +625,11 @@ controls:
625625
- dconf_gnome_login_banner_text
626626
- sshd_enable_warning_banner_net
627627
- login_banner_regex=cis_default
628-
- login_banner_text=default
628+
- login_banner_text=cis_default
629629
- motd_banner_regex=cis_default
630-
- motd_banner_text=default
630+
- motd_banner_text=cis_default
631631
- remote_login_banner_regex=cis_default
632-
- remote_login_banner_text=default
632+
- remote_login_banner_text=cis_default
633633

634634
- id: A.11.SEC-OL5
635635
title: Network Acess to the System is Controlled

controls/cis_al2023.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ controls:
468468
rules:
469469
- banner_etc_motd
470470
- motd_banner_regex=cis_banners
471-
- motd_banner_text=default
471+
- motd_banner_text=cis_default
472472

473473
- id: 1.7.2
474474
title: Ensure local login warning banner is configured properly (Automated)
@@ -478,7 +478,7 @@ controls:
478478
rules:
479479
- banner_etc_issue
480480
- login_banner_regex=cis_banners
481-
- login_banner_text=default
481+
- login_banner_text=cis_default
482482

483483
- id: 1.7.3
484484
title: Ensure remote login warning banner is configured properly (Automated)
@@ -488,7 +488,7 @@ controls:
488488
rules:
489489
- banner_etc_issue_net
490490
- remote_login_banner_regex=cis_banners
491-
- remote_login_banner_text=default
491+
- remote_login_banner_text=cis_default
492492

493493
- id: 1.7.4
494494
title: Ensure permissions on /etc/motd are configured (Automated)

controls/cis_almalinux9.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ controls:
692692
- dconf_gnome_banner_enabled
693693
- dconf_gnome_login_banner_text
694694
- login_banner_regex=cis_banners
695-
- login_banner_text=default
695+
- login_banner_text=cis_default
696696

697697
- id: 1.8.3
698698
title: Ensure GDM disable-user-list option is enabled (Automated)

controls/cis_debian12.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ controls:
541541
- l1_workstation
542542
rules:
543543
- login_banner_regex=cis_default
544-
- login_banner_text=default
544+
- login_banner_text=cis_default
545545
- dconf_gnome_banner_enabled
546546
- dconf_gnome_login_banner_text
547547
status: automated

controls/cis_fedora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ controls:
711711
- dconf_gnome_banner_enabled
712712
- dconf_gnome_login_banner_text
713713
- login_banner_regex=cis_banners
714-
- login_banner_text=default
714+
- login_banner_text=cis_default
715715

716716
- id: 1.8.2
717717
title: Ensure GDM disable-user-list is configured (Automated)

controls/cis_sle12.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ controls:
457457
rules:
458458
- banner_etc_motd
459459
- motd_banner_regex=cis_banners
460-
- motd_banner_text=default
460+
- motd_banner_text=cis_default
461461

462462
- id: 1.8.1.2
463463
title: Ensure local login warning banner is configured properly (Automated)
@@ -468,7 +468,7 @@ controls:
468468
rules:
469469
- banner_etc_issue
470470
- login_banner_regex=cis_banners
471-
- login_banner_text=default
471+
- login_banner_text=cis_default
472472

473473
- id: 1.8.1.3
474474
title: Ensure remote login warning banner is configured properly (Automated)
@@ -479,7 +479,7 @@ controls:
479479
rules:
480480
- banner_etc_issue_net
481481
- remote_login_banner_regex=cis_banners
482-
- remote_login_banner_text=default
482+
- remote_login_banner_text=cis_default
483483

484484
- id: 1.8.1.4
485485
title: Ensure permissions on /etc/motd are configured (Automated)
@@ -539,7 +539,7 @@ controls:
539539
- dconf_gnome_banner_enabled
540540
- dconf_gnome_login_banner_text
541541
- login_banner_regex=cis_default
542-
- login_banner_text=default
542+
- login_banner_text=cis_default
543543

544544
- id: 2.1.1
545545
title: Ensure xinetd is not installed (Automated)

controls/cis_sle15.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ controls:
465465
rules:
466466
- banner_etc_issue
467467
- login_banner_regex=cis_banners
468-
- login_banner_text=default
468+
- login_banner_text=cis_default
469469

470470
- id: 1.8.1.3
471471
title: Ensure remote login warning banner is configured properly (Automated)
@@ -476,7 +476,7 @@ controls:
476476
rules:
477477
- banner_etc_issue_net
478478
- remote_login_banner_regex=cis_banners
479-
- remote_login_banner_text=default
479+
- remote_login_banner_text=cis_default
480480

481481
- id: 1.8.1.4
482482
title: Ensure permissions on /etc/motd are configured (Automated)
@@ -535,7 +535,7 @@ controls:
535535
- dconf_gnome_banner_enabled
536536
- dconf_gnome_login_banner_text
537537
- login_banner_regex=cis_default
538-
- login_banner_text=default
538+
- login_banner_text=cis_default
539539

540540
- id: 2.1.1
541541
title: Ensure xinetd is not installed (Automated)

controls/cis_ubuntu2204.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ controls:
529529
- l1_workstation
530530
rules:
531531
- login_banner_regex=cis_default
532-
- login_banner_text=default
532+
- login_banner_text=cis_default
533533
- dconf_gnome_banner_enabled
534534
- dconf_gnome_login_banner_text
535535
status: automated

controls/cis_ubuntu2404.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ controls:
562562
- l1_workstation
563563
rules:
564564
- login_banner_regex=cis_default
565-
- login_banner_text=default
565+
- login_banner_text=cis_default
566566
- dconf_gnome_banner_enabled
567567
- dconf_gnome_login_banner_text
568568
status: automated

controls/general_sle15.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ controls:
470470
rules:
471471
- banner_etc_motd
472472
- motd_banner_regex=cis_banners
473-
- motd_banner_text=default
473+
- motd_banner_text=cis_default
474474

475475
- id: SLES-15-151050030
476476
title: Modify the System Login Banner
@@ -480,7 +480,7 @@ controls:
480480
rules:
481481
- banner_etc_issue
482482
- login_banner_regex=cis_banners
483-
- login_banner_text=default
483+
- login_banner_text=cis_default
484484

485485
- id: SLES-15-151050045
486486
title: Modify the System Login Banner for Remote Connections
@@ -490,7 +490,7 @@ controls:
490490
rules:
491491
- banner_etc_issue_net
492492
- remote_login_banner_regex=cis_banners
493-
- remote_login_banner_text=default
493+
- remote_login_banner_text=cis_default
494494

495495
- id: SLES-15-151050060
496496
title: Configure access to the Message of the Day Banner
@@ -539,7 +539,7 @@ controls:
539539
- dconf_gnome_banner_enabled
540540
- dconf_gnome_login_banner_text
541541
- login_banner_regex=cis_default
542-
- login_banner_text=default
542+
- login_banner_text=cis_default
543543

544544
- id: SLES-15-151200135
545545
title: Disable the GDM Login User List

0 commit comments

Comments
 (0)