- Products
- Learn
- Local User Groups
- Partners
- More
AI Security Masters E7:
How CPR Broke ChatGPT's Isolation and What It Means for You
Blueprint Architecture for Securing
The AI Factory & AI Data Center
Call For Papers
Your Expertise. Our Stage
Good, Better, Best:
Prioritizing Defenses Against Credential Abuse
Ink Dragon: A Major Nation-State Campaign
Watch HereCheckMates Go:
CheckMates Fest
🏆 PSQL wizardry!
👉 Directly queries the management database
PSQL query to show the top 20 hit count per gateway on a Check Point Security Management (SmartCenter).
In expert mode run:
psql_client monitoring postgres -c "WITH ranked AS (SELECT netobj_name AS gateway, rule_uid, policy_type, SUM(hits) AS total_hits, MAX(end_date) AS last_seen, ROW_NUMBER() OVER (PARTITION BY netobj_name ORDER BY SUM(hits) DESC) AS rn FROM public.hitcount WHERE end_date >= now() - interval '30 days' GROUP BY netobj_name, rule_uid, policy_type) SELECT gateway, rule_uid, policy_type, total_hits, last_seen FROM ranked WHERE rn <= 20 ORDER BY gateway, total_hits DESC;"
🏆 PSQL wizardry!
👉 Directly queries the management database
PSQL query to show the top 20 hit count per gateway on a Check Point Security Management (SmartCenter).
In expert mode run:
psql_client monitoring postgres -c "WITH ranked AS (SELECT netobj_name AS gateway, rule_uid, policy_type, SUM(hits) AS total_hits, MAX(end_date) AS last_seen, ROW_NUMBER() OVER (PARTITION BY netobj_name ORDER BY SUM(hits) DESC) AS rn FROM public.hitcount WHERE end_date >= now() - About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY