<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic CIS Gaia recommendation script in Scripts</title>
    <link>https://community.checkpoint.com/t5/Scripts/CIS-Gaia-recommendation-script/m-p/268144#M1341</link>
    <description>&lt;P&gt;This script shows some basic recommendations that should be applied on gaia OS to comply with CIS benchmarks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cisecurity.org/cis-benchmarks" target="_blank" rel="noopener"&gt;https://www.cisecurity.org/cis-benchmarks&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;lab output:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;[Expert@LIN_FW_01:0]# ./gaia_cis.sh&lt;BR /&gt;=== GAiA CIS-style Recommendations Audit ===&lt;BR /&gt;Host: LIN_FW_01&lt;BR /&gt;Time: Wed Jan 21 12:18:55 EST 2026&lt;BR /&gt;Mode: READ-ONLY&lt;/P&gt;
&lt;P&gt;Version (top lines):&lt;BR /&gt;Product version Check Point Gaia R81.20&lt;BR /&gt;OS build 791&lt;BR /&gt;OS kernel version 3.10.0-1160.15.2cpx86_64&lt;BR /&gt;OS edition 64-bit&lt;/P&gt;
&lt;P&gt;[FAIL] 1.1 Min password length&lt;BR /&gt;Current: 6&lt;BR /&gt;Recommended: &amp;gt;= 14&lt;BR /&gt;Fix (clish): set password-controls min-password-length 14&lt;/P&gt;
&lt;P&gt;[PASS] 1.2 Disallow palindromes&lt;BR /&gt;Current: on&lt;BR /&gt;Recommended: on&lt;BR /&gt;Fix (clish): set password-controls palindrome-check on&lt;/P&gt;
&lt;P&gt;[FAIL] 1.3 Password complexity&lt;BR /&gt;Current: 2&lt;BR /&gt;Recommended: &amp;gt;= 3&lt;BR /&gt;Fix (clish): set password-controls complexity 3&lt;/P&gt;
&lt;P&gt;[FAIL] 1.4 Password history&lt;BR /&gt;Current: on, length=10&lt;BR /&gt;Recommended: on, length&amp;gt;= 12&lt;BR /&gt;Fix (clish): set password-controls history-check on; set password-controls history-length 12&lt;/P&gt;
&lt;P&gt;./gaia_cis.sh: line 166: [[: 0329: value too great for base (error token is "0329")&lt;BR /&gt;[FAIL] 1.5 Password expiration (days)&lt;BR /&gt;Current: 0329&lt;BR /&gt;Recommended: &amp;lt;= 90&lt;BR /&gt;Fix (clish): set password-controls expiration-days 90&lt;/P&gt;
&lt;P&gt;./gaia_cis.sh: line 175: [[: 0329: value too great for base (error token is "0329")&lt;BR /&gt;[FAIL] 1.6 Warn before expiration (days)&lt;BR /&gt;Current: 0329&lt;BR /&gt;Recommended: &amp;lt;= 7&lt;BR /&gt;Fix (clish): set password-controls warn-days 7&lt;/P&gt;
&lt;P&gt;./gaia_cis.sh: line 184: [[: 0329: value too great for base (error token is "0329")&lt;BR /&gt;[FAIL] 1.7 Lockout after expiration (days)&lt;BR /&gt;Current: 0329&lt;BR /&gt;Recommended: &amp;lt;= 1&lt;BR /&gt;Fix (clish): set password-controls lockout-days 1&lt;/P&gt;
&lt;P&gt;./gaia_cis.sh: line 199: [[: 0329: value too great for base (error token is "0329")&lt;BR /&gt;[FAIL] 1.8/1.9 Lock unused accounts&lt;BR /&gt;Current: on, days=0329&lt;BR /&gt;Recommended: on, days&amp;lt;= 30&lt;BR /&gt;Fix (clish): set password-controls deny-inactive-accounts on; set password-controls inactive-lockout-days 30&lt;/P&gt;
&lt;P&gt;./gaia_cis.sh: line 227: [[: 0329: value too great for base (error token is "0329")&lt;BR /&gt;./gaia_cis.sh: line 228: [[: 0329: value too great for base (error token is "0329")&lt;BR /&gt;[PASS] 1.11-1.13 Failed login lockout&lt;BR /&gt;Current: on, max=0329, unlock=0329s&lt;BR /&gt;Recommended: on, max&amp;lt;= 5, unlock&amp;gt;= 300s&lt;BR /&gt;Fix (clish): set password-controls deny-after-failed-login on; set password-controls max-failed-login-attempts 5; set password-controls allow-access-again-after 300&lt;/P&gt;
&lt;P&gt;[FAIL] 2.5.1 Clish inactivity timeout&lt;BR /&gt;Current: 120 min&lt;BR /&gt;Recommended: &amp;lt;= 10 min&lt;BR /&gt;Fix (clish): set inactivity-timeout 10&lt;/P&gt;
&lt;P&gt;[FAIL] 2.5.2 WebUI session timeout&lt;BR /&gt;Current: 120 min&lt;BR /&gt;Recommended: &amp;lt;= 10 min&lt;BR /&gt;Fix (clish): set web session-timeout 10&lt;/P&gt;
&lt;P&gt;[PASS] 2.1.9 Telnet disabled&lt;BR /&gt;Current: telnet off&lt;BR /&gt;Recommended: telnet off&lt;BR /&gt;Fix (clish): set net-access telnet off&lt;/P&gt;
&lt;P&gt;[FAIL] 2.3.1 NTP enabled + 2 servers&lt;BR /&gt;Current: UNKNOWN, servers=2&lt;BR /&gt;Recommended: on + &amp;gt;=2 servers&lt;BR /&gt;Fix (clish): set ntp active on; set ntp server primary &amp;lt;IP/FQDN&amp;gt;; set ntp server secondary &amp;lt;IP/FQDN&amp;gt;&lt;/P&gt;
&lt;P&gt;[PASS] 2.2.1 SNMP agent disabled&lt;BR /&gt;Current: off&lt;BR /&gt;Recommended: off (or v3-only if required)&lt;BR /&gt;Fix (clish): set snmp agent off&lt;/P&gt;
&lt;P&gt;[PASS] 2.1.7 IPv6 not active (no addrs)&lt;BR /&gt;Current: No IPv6 addresses&lt;BR /&gt;Recommended: Disable IPv6 if unused&lt;BR /&gt;Fix (clish): If needed: disable IPv6 in Gaia Portal (requires reboot); otherwise OK&lt;/P&gt;
&lt;P&gt;[PASS] 2.1.2 MOTD present&lt;BR /&gt;Current: present&lt;BR /&gt;Recommended: present&lt;BR /&gt;Fix (clish): Edit /etc/motd with approved banner text&lt;/P&gt;
&lt;P&gt;[MANUAL] 2.1.4 Configuration saved&lt;BR /&gt;Current: CLINFR0329 Invalid command:'show-config state'.&lt;BR /&gt;Recommended: saved&lt;BR /&gt;Fix (clish): save config&lt;/P&gt;
&lt;P&gt;=== Done ===&lt;BR /&gt;Tip: run with --apply to enforce the clish remediations (be careful).&lt;BR /&gt;[Expert@LIN_FW_01:0]#&lt;/P&gt;</description>
    <pubDate>Tue, 10 Feb 2026 14:14:08 GMT</pubDate>
    <dc:creator>the_rock</dc:creator>
    <dc:date>2026-02-10T14:14:08Z</dc:date>
    <item>
      <title>CIS Gaia recommendation script</title>
      <link>https://community.checkpoint.com/t5/Scripts/CIS-Gaia-recommendation-script/m-p/268144#M1341</link>
      <description>4</description>
      <pubDate>Tue, 10 Feb 2026 14:14:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/CIS-Gaia-recommendation-script/m-p/268144#M1341</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2026-02-10T14:14:08Z</dc:date>
    </item>
  </channel>
</rss>

