You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: notebooks/demo_crdb_sql_audit.ipynb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -17,14 +17,14 @@
17
17
"metadata": {},
18
18
"outputs": [],
19
19
"execution_count": null,
20
-
"source": "# Step 1: Load the rules YAML\nimport yaml\n\nwith open(\"rules/test_rules.yaml\") as f:\n rules = yaml.safe_load(f)\n\nprint(f\"\u2705 Loaded {len(rules)} rules\")"
20
+
"source": "# Step 1: Load the rules YAML\nimport yaml\n\nwith open(\"https://raw.githubusercontent.com/viragtripathi/crdb-sql-audit/main/tests/rules/test_rules.yaml\") as f:\n rules = yaml.safe_load(f)\n\nprint(f\"\u2705 Loaded {len(rules)} rules\")"
21
21
},
22
22
{
23
23
"cell_type": "code",
24
24
"metadata": {},
25
25
"outputs": [],
26
26
"execution_count": null,
27
-
"source": "# Step 2: Load a test log file (SQL lines)\nwith open(\"tests/sample_logs/basic_pg_chunk.log\") as f:\n raw_lines = [line.strip() for line in f if line.strip()]\n\nprint(f\"\u2705 Loaded {len(raw_lines)} lines\")"
27
+
"source": "# Step 2: Load a test log file (SQL lines)\nwith open(\"https://raw.githubusercontent.com/viragtripathi/crdb-sql-audit/main/tests/sample_logs/basic_pg_chunk.log\") as f:\n raw_lines = [line.strip() for line in f if line.strip()]\n\nprint(f\"\u2705 Loaded {len(raw_lines)} lines\")"
0 commit comments