content icon indicating copy to clipboard operation
content copied to clipboard

The XDR script in XSOAR

Open rshunim opened this issue 7 months ago • 2 comments

Status

  • [x] In Progress
  • [x] Ready
  • [ ] In Hold - (Reason for hold)

Related Issues

fixes: link to the issue

Description

Added a new script- SearchIndicatorInXDR which gets an indicator data set and timeframe, and searches for the indicator.

Must have

  • [ ] Tests
  • [ ] Documentation

rshunim avatar May 26 '25 09:05 rshunim

Coverage

Coverage Report
FileStmtsMissCoverMissing
Packs/Base/Scripts/CommonServerPython
   CommonServerPython.py475581782%139–142, 153, 155, 392, 434, 530, 556–560, 585, 600, 742–743, 752, 793–794, 812, 842–846, 850–852, 894, 981–989, 1033–1038, 1072–1074, 1204–1208, 1211–1212, 1214–1216, 1230–1232, 1234, 1300, 1313, 1326, 1334–1336, 1338, 1351, 1359, 1461–1462, 1517, 1539–1540, 1543, 1549, 1551, 1553, 1658, 1704, 1778–1779, 1783–1784, 1823–1824, 1838–1843, 1845, 1913, 1996, 1998, 2019, 2049, 2053, 2095, 2274, 2298, 2337–2338, 2418–2419, 2421, 2434–2441, 2443, 2520–2522, 2536, 2549, 2580, 2586–2590, 2592–2594, 2596, 2600–2601, 2603, 2616–2622, 2626, 2630–2632, 2638–2639, 2651, 2679, 2682, 2687, 2707, 2713, 2715, 2717, 2737, 2740, 2752, 2798–2806, 2808, 2867, 2889, 2909, 2967, 2979–2980, 3092, 3094, 3296, 3306, 3312, 3321, 3327, 3341, 3397, 3406, 3409, 3412, 3415, 3418, 3421, 3430, 3432, 3437–3438, 3469–3474, 3477, 3528–3529, 3532, 3698–3699, 3702, 3809, 3812, 4063, 4066, 4069, 4072, 4077, 4086, 4112, 4118, 4121, 4127, 4130, 4133, 4136, 4139, 4148, 4150, 4266–4267, 4291, 4293, 4312, 4315, 4318, 4386, 4407, 4409, 4571, 4589, 4601, 4631, 4634, 4640, 4643, 4646, 4655, 4657, 4857–4858, 4877, 4880, 4883, 4886, 4892, 4954, 4956, 4981, 4996–5012, 5015, 5019–5020, 5022–5023, 5025–5026, 5028–5029, 5031–5032, 5034–5035, 5037–5038, 5040–5041, 5043–5044, 5046–5047, 5049–5050, 5052–5053, 5055–5056, 5058, 5060–5061, 5063–5066, 5068–5070, 5072, 5074, 5078, 5154, 5194, 5200, 5202, 5212, 5250, 5255–5256, 5261, 5265–5266, 5268, 5350, 5356, 5449, 5470, 5473–5478, 5486–5492, 5494–5495, 5540, 5553, 5649–5652, 5657, 5660, 5663, 5697, 5700, 5744, 5746, 5748, 5843, 5894, 5976, 5988, 6006, 6046–6047, 6051, 6053, 6087, 6091, 6093, 6095, 6097, 6143, 6147, 6246–6249, 6251, 6264, 6283, 6293, 6299, 6308–6310, 6313–6316, 6331, 6373, 6402, 6405, 6464–6474, 6477, 6487–6488, 6490–6491, 6493–6494, 6499, 6503–6504, 6506, 6543–6546, 6549–6553, 6557, 6565, 6571, 6599, 6628, 6634–6635, 6686, 6706–6707, 6709, 6749–6750, 6757, 6762, 6768, 6781–6782, 6784, 7055–7057, 7076, 7089, 7101, 7129, 7289, 7304, 7369, 7399, 7441–7442, 7454, 7469–7470, 7472–7473, 7475–7476, 7478–7479, 7481–7484, 7486, 7488–7489, 7491, 7570–7571, 7583, 7627–7630, 7632, 7639–7640, 7800, 7855, 7891, 7911, 7913, 8014, 8174–8177, 8179–8181, 8240, 8259–8260, 8272, 8288, 8309–8310, 8312, 8329, 8416, 8430, 8433–8436, 8439, 8442, 8464–8467, 8564, 8583–8584, 8709, 8726–8728, 8764–8766, 8776–8777, 8795, 8827, 8883, 8887–8888, 8902, 8905, 8918–8920, 8923, 8995, 9165–9166, 9246–9247, 9291–9292, 9294, 9297, 9308, 9314–9317, 9319, 9321, 9323–9324, 9440, 9565, 9579, 9582, 9786, 9795, 9861–9862, 9866, 9927–9930, 9932, 9954, 9966, 10062, 10098–10099, 10112, 10125–10130, 10146–10147, 10155–10156, 10169, 10177–10178, 10195–10196, 10210, 10220, 10236, 10247, 10255–10257, 10259, 10285, 10300, 10311, 10329–10330, 10333, 10351, 10354, 10369, 10383, 10389, 10404, 10421, 10433–10441, 10444–10445, 10447, 10462–10464, 10475, 10478, 10567, 10593, 10600, 10644, 10670–10671, 10714, 10716–10718, 10720, 10795, 10804, 10925, 10989, 10993–10994, 11085–11090, 11186–11189, 11280–11282, 11308, 11342, 11392–11393, 11398–11399, 11416, 11502–11504, 11523, 11735, 11852, 11876, 11899, 11924, 11931–11937, 11939, 11941, 12042, 12045, 12098, 12149–12150, 12152–12159, 12164–12166, 12168, 12170, 12285–12286, 12305, 12343–12344, 12348, 12377–12385, 12387–12388, 12409, 12412, 12414–12415, 12417, 12419, 12421, 12423–12426, 12428, 12430–12431, 12435–12437, 12470, 12534–12535, 12537, 12545, 12554, 12558, 12560–12562, 12565–12566, 12569–12572, 12575, 12578, 12581–12588, 12590, 12601–12604, 12607, 12609–12613, 12615–12617, 12619, 12690–12691, 12693–12694, 12696–12698, 12700, 12703–12706, 12709–12710, 12713–12716, 12718, 12720–12723, 12725, 12727–12730, 12732, 12734–12737, 12739–12740, 12742
TOTAL475581782% 

Tests Skipped Failures Errors Time
5201 88 :zzz: 0 :x: 0 :fire: 4m 6s :stopwatch:

github-actions[bot] avatar May 26 '25 11:05 github-actions[bot]

This PR was automatically updated by a GitHub Action

  • CortexXDR pack version was bumped to 6.3.0.

To stop automatic version bumps, add the ignore-auto-bump-version label to the github PR.

content-bot avatar Jun 15 '25 12:06 content-bot

Validate summary The following errors were thrown as a part of this pr: RN106, PA114, BA124. The following errors can be ignored: BA124. The following errors cannot be ignored: RN106, PA114. The following errors don't run as part of the nightly flow and therefore can be force merged: RN106, PA114, BA124.

Verdict: PR can be force merged from validate perspective? ✅

content-bot avatar Jun 15 '25 13:06 content-bot

This PR is marked as 'Stale' because it has been open for 30 days with no activity, it will be automatically closed in 15 days if no activity will be done. To reset the counter just remove the 'Stale' label or make changes to update this PR. If you wish this PR will never be marked as 'Stale' add the 'Ignore Stale'

content-bot avatar Jul 16 '25 00:07 content-bot