File tree Expand file tree Collapse file tree 1 file changed +44
-1
lines changed Expand file tree Collapse file tree 1 file changed +44
-1
lines changed Original file line number Diff line number Diff line change @@ -1271,6 +1271,8 @@ search:
1271
1271
value :
1272
1272
config :
1273
1273
auto_check : True
1274
+ exec :
1275
+ - ' (pwsh -Command "Save-AzContext -Path /tmp/az-context3489ht.json" && cat /tmp/az-context3489ht.json && rm /tmp/az-context3489ht.json) || echo_not_found "pwsh"'
1274
1276
1275
1277
files :
1276
1278
# - name: "credentials"
@@ -1379,13 +1381,54 @@ search:
1379
1381
- common
1380
1382
1381
1383
- name : " AzureRMContext.json"
1384
+ value :
1385
+ bad_regex : " Id.*|Credential.*"
1386
+ type : f
1387
+ search_in :
1388
+ - common
1389
+
1390
+ - name : " clouds.config"
1391
+ value :
1392
+ type : f
1393
+ search_in :
1394
+ - common
1395
+
1396
+ - name : " service_principal_entries.json"
1382
1397
value :
1383
1398
bad_regex : " .*"
1384
1399
type : f
1385
1400
search_in :
1386
1401
- common
1387
1402
1388
- - name : " ErrorRecords" # Azure logs can contain creentials
1403
+ - name : " msal_token_cache.json"
1404
+ value :
1405
+ bad_regex : " .*"
1406
+ type : f
1407
+ search_in :
1408
+ - common
1409
+
1410
+ - name : " msal_http_cache.bin"
1411
+ value :
1412
+ just_list_file : True
1413
+ type : f
1414
+ search_in :
1415
+ - common
1416
+
1417
+ - name : " service_principal_entries.bin"
1418
+ value :
1419
+ just_list_file : True
1420
+ type : f
1421
+ search_in :
1422
+ - common
1423
+
1424
+ - name : " msal_token_cache.bin"
1425
+ value :
1426
+ just_list_file : True
1427
+ type : f
1428
+ search_in :
1429
+ - common
1430
+
1431
+ - name : " ErrorRecords" # Azure logs can contain crentials
1389
1432
value :
1390
1433
type : d
1391
1434
search_in :
You can’t perform that action at this time.
0 commit comments