content icon indicating copy to clipboard operation
content copied to clipboard

TAXII2 Server - Add cache for pagination

Open adi88d opened this issue 2 months ago • 8 comments

Contributing to Cortex XSOAR Content

Make sure to register your contribution by filling the contribution registration form

The Pull Request will be reviewed only after the contribution registration form is filled.

Status

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

Related Issues

fixes: link to the issue

Description

Improve request performance when using offset by saving the search_after_param from the IndicatorsSearcher response and use it for the next request.

Must have

  • [ ] Tests
  • [ ] Documentation

adi88d avatar Nov 06 '25 10:11 adi88d

Coverage

Coverage Report
FileStmtsMissCoverMissing
Packs/ApiModules/Scripts/TAXII2ApiModule
   TAXII2ApiModule.py114218383%536–538, 544, 546–548, 559–562, 576, 580–581, 615–616, 632–633, 644, 659–663, 692–694, 703, 765–766, 772, 782, 815, 819, 833, 843, 846, 852, 879, 885–887, 897, 903–904, 906, 908, 931–932, 936, 944–946, 1000, 1021, 1084, 1087–1089, 1091, 1249, 1251, 1267, 1292, 1299–1300, 1332, 1481–1484, 1542–1545, 1592–1595, 1632–1635, 1678–1681, 1719–1722, 1757–1760, 1792–1795, 1832–1835, 1866, 1872, 1900, 1934–1935, 1938, 1999, 2007, 2034–2037, 2045, 2069, 2077, 2123–2126, 2131, 2149–2150, 2165, 2168, 2200–2201, 2206, 2268–2269, 2279, 2287, 2323–2324, 2353, 2504–2509, 2523–2526, 2546–2549, 2553, 2559–2565, 2628, 2645, 2650, 2653, 2655, 2703–2704, 2706–2707, 2730, 2749, 2774–2777, 2781, 2783–2787, 2798, 2828–2829
Packs/CommonScripts/Scripts/StixCreator
   StixCreator.py1514868%86–90, 92–97, 99–103, 181–184, 233, 261, 264–265, 267, 270–271, 274–276, 282, 284–286, 292–295, 297–298, 301–302, 304–305, 308–309, 321–322
Packs/FeedDHS/Integrations/DHSFeedV2
   DHSFeedV2.py821384%84–85, 89–90, 94–95, 99–100, 104–105, 151, 154, 159
Packs/FeedGitHub/Integrations/FeedGitHub
   FeedGitHub.py2645878%27–30, 32, 36–38, 159–160, 230, 248, 251–252, 379–381, 389–390, 423–435, 469, 473, 475, 477, 488–493, 495–496, 498–501, 503–507, 530–532, 539, 555
Packs/FeedMitreAttackv2/Integrations/FeedMitreAttackv2
   FeedMitreAttackv2.py39013066%86–87, 90, 93–94, 97–99, 114, 117, 120, 126, 173, 184–185, 188, 195–197, 201, 207, 214–216, 220, 224–225, 260, 472–476, 480–481, 484–486, 488–489, 491, 493, 497–498, 500, 502–504, 506–507, 536–537, 539–540, 542–548, 550–552, 554–555, 610, 624, 642, 702, 704–706, 714, 716, 718–720, 722, 725, 739–750, 752–754, 756–757, 759–760, 762–763, 765–766, 768–769, 771–775, 777–778, 781–784, 786–788, 792–794, 798–799, 801–803, 807–809
Packs/FeedTAXII/Integrations/FeedTAXII2
   FeedTAXII2.py1392582%42–45, 47, 80, 84, 136, 200, 205–215, 240–241, 250, 275–276
Packs/TAXIIServer/Integrations/TAXII2Server
   TAXII2Server.py5256388%111, 140, 147, 168, 193, 202, 208, 279–280, 284, 326–328, 332, 421–422, 519–520, 626, 672–674, 733, 766–767, 769–772, 774, 787–788, 802–803, 819, 841–844, 864–867, 907–910, 931–934, 968–971, 1015–1018, 1038–1041
TOTAL269352080% 

Tests Skipped Failures Errors Time
286 0 :zzz: 0 :x: 0 :fire: 26.591s :stopwatch:

github-actions[bot] avatar Nov 06 '25 10:11 github-actions[bot]

This PR was automatically updated by a GitHub Action

  • CommonScripts pack version was bumped to 1.20.44.

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

content-bot avatar Nov 23 '25 16:11 content-bot

This PR was automatically updated by a GitHub Action

  • FeedMitreAttackv2 pack version was bumped to 1.2.14.

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

content-bot avatar Nov 26 '25 07:11 content-bot

This PR was automatically updated by a GitHub Action

  • CommonScripts pack version was bumped to 1.20.45.

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

content-bot avatar Nov 26 '25 12:11 content-bot

@adi88d docs approved

talihaff avatar Nov 30 '25 10:11 talihaff

This PR was automatically updated by a GitHub Action

  • CommonScripts pack version was bumped to 1.20.46.

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

content-bot avatar Nov 30 '25 15:11 content-bot

This PR was automatically updated by a GitHub Action

  • CommonScripts pack version was bumped to 1.20.47.

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

content-bot avatar Dec 01 '25 10:12 content-bot

This PR was automatically updated by a GitHub Action

  • CommonScripts pack version was bumped to 1.20.48.

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

content-bot avatar Dec 02 '25 09:12 content-bot

Validate summary The following errors were thrown as a part of this pr: . If the AG100 validation in the pre-commit GitHub Action fails, the pull request cannot be force-merged.

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

content-bot avatar Dec 02 '25 09:12 content-bot