Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ComonServerPython docstring #35197

Merged
merged 3 commits into from
Jul 3, 2024

Conversation

MosheEichler
Copy link
Contributor

@MosheEichler MosheEichler commented Jul 2, 2024

Status

  • In Progress
  • Ready
  • In Hold - (Reason for hold)

Related PR

demisto/content-docs#1574

Description

Fixed CommonServerPython docstring

Must have

  • Tests
  • Documentation

@MosheEichler MosheEichler self-assigned this Jul 2, 2024
Copy link

github-actions bot commented Jul 2, 2024

Coverage

Coverage Report
FileStmtsMissCoverMissing
Packs/Base/Scripts/CommonServerPython
   CommonServerPython.py444867284%169–172, 183, 185, 421, 463, 559, 585–589, 614, 629, 769–770, 779, 820–821, 839, 869–873, 877–879, 921, 1008–1016, 1060–1065, 1099–1101, 1231–1235, 1238–1239, 1241–1243, 1257–1259, 1261, 1327, 1340, 1353, 1361–1363, 1365, 1378, 1386, 1473–1474, 1529, 1551–1552, 1555, 1561, 1563, 1565, 1659, 1704, 1778–1779, 1783–1784, 1823–1824, 1838–1843, 1845, 1913, 1996, 1998, 2018, 2048, 2052, 2094, 2273, 2297, 2336–2337, 2417–2418, 2420, 2433–2440, 2442, 2519–2521, 2535, 2548, 2579, 2585–2589, 2591–2593, 2595, 2599–2600, 2602, 2615–2621, 2625, 2629–2631, 2637–2638, 2650, 2678, 2681, 2686, 2706, 2712, 2714, 2716, 2736, 2739, 2751, 2797–2805, 2807, 2866, 2888, 2908, 2966, 2978–2979, 3091, 3093, 3268, 3278, 3284, 3293, 3299, 3313, 3369, 3384, 3386, 3417–3422, 3425, 3476–3477, 3480, 3646–3647, 3650, 3757, 3760, 3985, 3988, 3991, 3994, 3999, 4008, 4034, 4040, 4043, 4052, 4054, 4170–4171, 4195, 4197, 4216, 4219, 4222, 4290, 4311, 4313, 4449, 4467, 4479, 4515, 4517, 4691–4692, 4770, 4772, 4797, 4812–4828, 4831, 4835–4836, 4838–4839, 4841–4842, 4844–4845, 4847–4848, 4850–4851, 4853–4854, 4856–4857, 4859–4860, 4862–4863, 4865–4866, 4868–4869, 4871–4872, 4874, 4876–4877, 4879–4882, 4884–4886, 4888, 4890, 4894, 4965, 4997, 5003, 5005, 5043, 5048–5049, 5054, 5058–5059, 5061, 5143, 5149, 5241, 5262, 5265–5270, 5278–5284, 5286–5287, 5332, 5345, 5440–5443, 5448, 5451, 5454, 5488, 5491, 5535, 5537, 5539, 5634, 5685, 5767, 5779, 5797, 5837–5838, 5842, 5844, 5878, 5882, 5884, 5886, 5888, 5934, 5938, 6037–6040, 6042, 6055, 6074, 6084, 6090, 6099–6101, 6104–6107, 6122, 6164, 6193, 6196, 6245–6248, 6251–6255, 6259, 6267, 6273, 6301, 6330, 6336–6337, 6388, 6408–6409, 6411, 6451–6452, 6459, 6464, 6470, 6483–6484, 6486, 6757–6759, 6778, 6791, 6803, 6831, 6991, 7006, 7071, 7101, 7139–7140, 7152, 7167–7168, 7170–7171, 7173–7174, 7176–7177, 7179–7182, 7184, 7186–7187, 7189, 7268–7269, 7281, 7325–7328, 7330, 7337–7338, 7498, 7553, 7588, 7608, 7610, 7711, 7871–7874, 7876–7878, 7937, 7956–7957, 7969, 7985, 8006–8007, 8009, 8026, 8113, 8127, 8130–8133, 8136, 8139, 8161–8164, 8261, 8280–8281, 8409, 8494, 8498–8499, 8513, 8516, 8529–8531, 8534, 8606, 8776–8777, 8857–8858, 8902–8903, 8905, 8908, 8919, 8925–8928, 8930, 8932, 8934–8935, 9051, 9176, 9190, 9193, 9397, 9406, 9472–9473, 9477, 9538–9541, 9543, 9565, 9577, 9673, 9709–9710, 9723, 9736–9741, 9757–9758, 9766–9767, 9780, 9788–9789, 9806–9807, 9821, 9831, 9847, 9858, 9866–9868, 9870, 9896, 9911, 9922, 9940–9941, 9944, 9962, 9965, 9980, 9994, 10000, 10015, 10032, 10044–10052, 10055–10056, 10058, 10073–10075, 10086, 10089, 10177, 10203, 10210, 10254, 10280–10281, 10324, 10326–10328, 10330, 10401, 10410, 10531, 10595, 10599–10600, 10691–10696, 10791–10794, 10884–10886, 10912, 10945, 10995–10996, 11001–11002, 11019, 11105–11107, 11126, 11334, 11450, 11474, 11497, 11522, 11529–11535, 11537, 11539, 11682, 11731–11732, 11734–11741, 11746–11748, 11750, 11752, 11853–11854, 11872, 11905–11906, 11910, 11950, 11953, 11955–11956, 11958, 11960, 11962, 11964–11967, 11969, 11971–11972, 11976–11978, 12011
TOTAL444867284% 

Tests Skipped Failures Errors Time
5047 87 💤 0 ❌ 0 🔥 3m 45s ⏱️

@MosheEichler MosheEichler requested a review from thefrieddan1 July 3, 2024 08:51
@MosheEichler MosheEichler marked this pull request as ready for review July 3, 2024 08:51
@MosheEichler MosheEichler merged commit 87545fc into master Jul 3, 2024
18 checks passed
@MosheEichler MosheEichler deleted the fix-common-server-python-docstring branch July 3, 2024 13:38
maimorag pushed a commit that referenced this pull request Jul 4, 2024
* fix ComonServerPython docstring

* RN
xsoar-bot pushed a commit to xsoar-contrib/content that referenced this pull request Sep 10, 2024
* fix ComonServerPython docstring

* RN
maimorag added a commit that referenced this pull request Oct 1, 2024
* adding command

* Ciac 10544 rasterize handle regression regarding integration option parameter (#34695)

* Added external last updated time incident field to the commontypes (#35004)

* Added external last updated time incident field to the commontypes

* RN

* fomated the incident field

* RN modified

* changed from verison

* RN

* commit

* unsearchable true

* HPE switch marketplace (#35201)

* Updated the MP to support only the right one

* Update rn

* Revert "Revert "[Marketplace Contribution] FTP"" (#35200)

* Revert "Revert "[Marketplace Contribution] FTP (#34659) (#35177)" (#35199)"

This reverts commit c34a2a4.

* added noqa

---------

Co-authored-by: RotemAmit <[email protected]>

* Update PaloAltoNetworks_Cortex_XDR_Incident_Sync_README.md (#35181)

* Update PaloAltoNetworks_Cortex_XDR_Incident_Sync_README.md

* Update Packs/CortexXDR/Playbooks/PaloAltoNetworks_Cortex_XDR_Incident_Sync_README.md

Co-authored-by: ShirleyDenkberg <[email protected]>

---------

Co-authored-by: Mai Morag <[email protected]>

* [SplunkPy] Update the README Troubleshooting (#35208)

* [SplunkPy] Update the Troubleshooting

* Update Packs/SplunkPy/Integrations/SplunkPy/README.md

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/SplunkPy/Integrations/SplunkPy/README.md

Co-authored-by: ShirleyDenkberg <[email protected]>

---------

Co-authored-by: ShirleyDenkberg <[email protected]>

* Align dbot output context path and IN124 problematic packs (#35136)

* import problematic packs

* update

* changes

* import problematic packs

* update dockers

* update dockers

* added rns

* reverts

* update dockers

* cr fixes

* fix ComonServerPython docstring (#35197)

* fix ComonServerPython docstring

* RN

* Prevent changing infra files (#35209)

* demisto class for all (#35211)

* New pack for CVE-2024-6387 (#35220)

* New pack for CVE-2024-6387

* exclude-known-url

* adjust the playbook and pack readme

* adjust the playbook and pack readme

---------

Co-authored-by: Chanan Welt <[email protected]>

* Fix roles in common playbooks data collection task (#35133)

* Fixed an issue with the data collection tasks to send emails to the corresponding roles in XSIAM (Investigator) and XSOAR (Analyst).

* RN

* Removed administrator role from the data collection tasks

* udpated RN

* Recorded Future Intelligence Cloud CIAC - 10390 (#35030)

* Creating modeling rules

* Updating schema

* Removing url portal link

* Adding release notes and test data

* fixed test pb (#35221)

* Switch netutils (#34874)

* update image

* bump image

* Update Packs/ProofpointEmailSecurity/ReleaseNotes/1_0_2.md

* Update Packs/ProofpointEmailSecurity/Integrations/ProofpointEmailSecurityEventCollector/ProofpointEmailSecurityEventCollector.yml

* updated the classifier and layout of the qradar integration (#35222)

* updated the classifier and layout of the qradar integration

* added the release notes

* commit

* RN

* improved implementation of IsIncidentPartOfCampaign (#33954)

* improved implementation of IsIncidentPartOfCampaign

* was found

* docker update

* skip none string

* Zerofox/add cac data (#35227)

* Zerofox/add cac data (#35183)

* add compromised credentials command (#138)

* fix mypy check and tests

* Fix yml file format

* Add period to yaml description

* Include PR comments

- fix release notes comment
- add unit test
- format code

* update docker

* update RN

---------

Co-authored-by: Diego Ramirez R <[email protected]>
Co-authored-by: ipolishuk <[email protected]>

* Fixed CortexCoreIR http_request (#35206)

* fixed xpanse

* add RN

* fixed

* adding rn

* fix test

* fix test

* fix testcommonserver pyton

* fix unit tests and revert changes in demistomock

* add xplanatory docstring

* Bump pack from version Base to 1.34.24.

* adding memory threshold to incident enrichment

---------

Co-authored-by: sapirshuker <[email protected]>
Co-authored-by: Content Bot <[email protected]>

* Azure SQL Management - Client Credentials  (#35175)

* added client credentials flow - working

* updated readme and description

* changed to default value for token_retrieval_url

* created release notes and run pre commit

* changed redme and description after code review

* updated docker image

* changed some mistakes in readme

* changed some mistakes in discription

---------

Co-authored-by: noy <nodavidi.paloaltonetworks.com>

* Azure waf client credentials (#35182)

* changed yml file

* added client credentials to py

* added client credentials to py

* added release note

* changed readme and description for client credentials

* run pre commit

* updated docker image

* changed some mistakes in readme

* changed some mistakes in discription

---------

Co-authored-by: noy <nodavidi.paloaltonetworks.com>

* Update integration logo (#35112) (#35225)

updated integration logo to align with Prisma Cloud V2

Co-authored-by: epartington <[email protected]>
Co-authored-by: Danny Fried <[email protected]>

* Azure devops client credentials (#35034)

* changed the py file to match client credentials

* changed the yml file to match client cre4dentials

* changed the scope for client credentails

* changed the scope

* py

* getting 203 error from api

* made the final changes for client credentials

* changed description

* changed some description and added client credentials for README

* ran precommit and created release nores

* added global var for scope

* fixed pre commit

* made changes in readme and in description after doc review

* removed in description and in readme 'using cortex xsoar azure app'

* changed to default value for token_retrieval_url

* changed condition for scope

* changed test test_generate_login_urlplaybook to match the new scope

* changes cope global name

* updated docker image

* deleted the word Demisto - not relevant

* changed docker image and removed demisto word from description

---------

Co-authored-by: noy <nodavidi.paloaltonetworks.com>

* SplunkPy:get drilldown search in correct format (#35162)

* fix + RN + test

* RN

* fix ruff

* CR changes

* fix pre commit

* CR changes

* [MicrosoftAzureStorageApiModule] fixed token to start with '?' (#35223)

* fixed token to be with ?

* RN

* pre commit and docker

* fixed test AzureStorageTable_test.py

* fixed test AzureStorageQueue_test.py

* fixed test AzureStorageFileShare_test.py

* fixed test AzureStorageContainer_test.py

---------

Co-authored-by: okarkkatz <[email protected]>

* check

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix unit test

* pre-commit

* fix

* removing arg

* adding failed on status

* adding RN and docs

* unit test

* unit tests

* fix

* fix

* fix

* fix

* pre-commit

* Update Packs/ApiModules/Scripts/CoreIRApiModule/CoreIRApiModule.py

Co-authored-by: EyalPintzov <[email protected]>

* Update Packs/ApiModules/Scripts/CoreIRApiModule/CoreIRApiModule.py

Co-authored-by: EyalPintzov <[email protected]>

* add unit tests

* cr

* fix

* fix

* fixes

* fixes

* fix unit tests

* fix unit tests

* fix

* Apply suggestions from code review

Co-authored-by: ShirleyDenkberg <[email protected]>

* fix

* fix

* fix

---------

Co-authored-by: ilaredo <[email protected]>
Co-authored-by: omerKarkKatz <[email protected]>
Co-authored-by: Shelly Tzohar <[email protected]>
Co-authored-by: Dan Tavori <[email protected]>
Co-authored-by: RotemAmit <[email protected]>
Co-authored-by: ShirleyDenkberg <[email protected]>
Co-authored-by: Menachem Weinfeld <[email protected]>
Co-authored-by: Yuval Hayun <[email protected]>
Co-authored-by: Moshe Eichler <[email protected]>
Co-authored-by: dorschw <[email protected]>
Co-authored-by: Ben Melamed <[email protected]>
Co-authored-by: Chanan Welt <[email protected]>
Co-authored-by: Sasha Sokolovich <[email protected]>
Co-authored-by: ellopez777 <[email protected]>
Co-authored-by: Judah Schwartz <[email protected]>
Co-authored-by: content-bot <[email protected]>
Co-authored-by: Diego Ramirez R <[email protected]>
Co-authored-by: ipolishuk <[email protected]>
Co-authored-by: sapirshuker <[email protected]>
Co-authored-by: Content Bot <[email protected]>
Co-authored-by: noydavidi <[email protected]>
Co-authored-by: epartington <[email protected]>
Co-authored-by: Danny Fried <[email protected]>
Co-authored-by: Israel Lappe <[email protected]>
Co-authored-by: Binat Ziser <[email protected]>
Co-authored-by: okarkkatz <[email protected]>
Co-authored-by: EyalPintzov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants