Commit Graph
38 Commits
Author SHA1 Message Date
Daria Kuznetsova 75dd8ae6fe fix(codeqlExecuteScan): buffer issue (#5608) 2026-01-14 11:11:59 +01:00
Daria Kuznetsova 9ed3e15f78 Check for prefix instead of substring in gitBranch (#5413) 2025-07-11 11:32:16 +02:00
Daria Kuznetsovaandsumeet patil 38f9e5b7f3 fix(setupCommonPipelineEnvironment): handling tags from scm info (#5219)
* added check if git branch name starts with refs/

* added check if branch name from jenkins starts with refs/

* added tests

* hardcoded refs/tags to test

* removed hardcode

---------

Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2025-01-09 11:19:26 +01:00
Daria Kuznetsovaandsumeet patil 085a8c003b fix(codeqlExecuteScan): handle spaces in path to maven settings file (#5037)
* added quotes for mvn settings path

* added logs

* removed logs, added excape symbol for spaces

* set quotes

* removed replacing

* changed quotes

* fixed tests

* removed extra log

---------

Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2024-09-12 10:15:11 +03:00
92a6705c2e fix(codeqlExecuteScan): transforming querySuite to empty string (#4957)
* fixed transforming querySuite to empty string

* fixed error handling

---------

Co-authored-by: Vyacheslav Starostin <32613074+vstarostin@users.noreply.github.com>
Co-authored-by: Mihai Herda <77497647+mihai-herda-SAP@users.noreply.github.com>
2024-06-19 10:15:44 +02:00
Daria Kuznetsovaandsumeet patil 67ed27f07d added sed cmd to transform querySuite (#4945)
* added sed cmd to transform querySuite

* changed sh to bash

* added checking os

* fixed tests by mocking utils

* fixed tests

* renamed param

---------

Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2024-06-06 15:14:03 +03:00
Daria Kuznetsovaandsumeet patil 8924b9786e feat(codeqlExecuteScan): added a feature to execute custom command (#4912)
* added running custom command

* go mod tidy

* added log with parsed command info

* fixed log format

---------

Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2024-05-27 16:39:05 +05:30
Daria Kuznetsovaandsumeet patil df0b288ecb refactor codeqlExecuteScan (#4888)
* refactored codeql step

* fixed tests

* fixed reports output dir

* refactored

* fixed returning error

* fixed tests

---------

Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2024-04-16 11:35:56 +03:00
Daria Kuznetsovaandsumeet patil bf59a28aba feat(codeqlExecuteScan): added open configs for codeql database creation and analysis (#4869)
Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2024-04-02 10:18:17 +05:30
Daria Kuznetsova 2d2d357599 feat(contrastExecuteScan): new step contrastExecuteScan (#4818) 2024-03-21 10:13:59 +05:30
Daria Kuznetsova 668b3711a3 fix(codeqlExecuteScan): improved logging (#4817) 2024-02-05 15:54:49 +05:30
Daria Kuznetsovaandsumeet patil 1520777d5d fix(codeqlExecuteScan): set default value for ram to 4000 (#4803)
Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2024-02-05 10:55:55 +05:30
Daria Kuznetsovaandsumeet patil 4be7b99f95 fix(codeqlExecuteScan): check for compliance for Audit All (#4796)
Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2024-01-25 11:05:29 +05:30
Daria Kuznetsova 6920cad511 feat(codeqlExecuteScan): adding data to InfluxDB (#4780)
* added influxdb to params, added log for testing

* changed fields for codeql influx db

* added setting codeql findings to influx

* refactored

* fixed typo

* added tests
2024-01-17 11:38:16 +03:00
Daria Kuznetsovaandsumeet patil 439a7ad82e fix(codeqlExecuteScan): init empty GitHub repo before mirroring code (#4714)
* added initializing empty repo

* updated go.mod

* updated go.mod

* updated go.sum

* updated go.mod

* updated go.mod

* updated go.mod

---------

Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2023-12-21 11:20:44 +03:00
Daria Kuznetsova 4f5ed26031 fix(codeqlExecuteScan): support http(s) urls for maven settings files (#4718) 2023-12-13 11:55:07 +03:00
Daria Kuznetsovaandsumeet patil 405e42a1c3 fix(codeqlExecuteScan): filter quality issues for SAST to pass/fail (#4703)
* added filtering issues by tag

* added optional group of issues

* fixed tests

---------

Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2023-12-13 10:43:04 +03:00
Daria Kuznetsova aab4de4597 feat(codeqlExecuteScan): added params projectSettingsFile and globalSettingsFile (#4702)
* added settings file params

* added checking build tool
2023-12-01 12:45:31 +03:00
Daria Kuznetsovaandsumeet patil ca633186f9 refactor(codeqlExecuteScan): refactor codeql reporting (#4682)
Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2023-11-20 18:51:04 +05:30
Daria Kuznetsova df0c9c7b3f fix(codeqlExecuteScan): exclude codeqlDB from uploaded sources to github (#4652)
* fixed unzipping db sources without db dir

* fixed tests
2023-10-31 14:03:57 +03:00
Daria Kuznetsovaandsumeet patil 6331d1b839 feat(codeqlExecuteScan): cloning project from non-github scm to github #4630
Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2023-10-18 16:50:15 +05:30
Daria Kuznetsova ccd2acfbb2 fix(codeqlExecuteScan): logging when use both Vault and Jenkins Credentials config (#4600)
* added logging if unauthorized for github

* refactored

* fixed log message & added logging github response

* deleted extra log

* refactored log message
2023-09-27 14:59:35 +03:00
Daria Kuznetsovaandsumeet patil 1704758563 fixed setting git ref for branch with slashes in name (#4554)
Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2023-09-12 13:45:05 +03:00
Daria Kuznetsova 84dead704b added querySuite to codeql audit report (#4485) 2023-07-25 15:50:26 +03:00
Daria Kuznetsovaandsumeet patil e117067a66 fix(codeqlExecuteScan): changed audit report format (#4474)
Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2023-07-19 19:16:05 +05:30
Daria Kuznetsovaandsumeet patil 96f5508c8a fix(codeqlExecuteScan): moved flag checkIfCompliance (#4443)
* moved checkForCompliance flag, updated description of sarif check params

* added generated codeqlExecuteScan

* moved appending reports before checking for compliance

---------

Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2023-07-11 22:02:54 +05:30
Daria Kuznetsova 6eb4c2e72d fix(codeqlExecuteScan): added waiting for the SARIF file upload (#4409)
* added waiting for the sarif file uploaded & tests

* increased polling time, added timeout for waiting response from server & tests

* fixed handling error while waiting sarif uploaded

* added params for checking sarif uploaded & refactor

* added test logs

* fixed logs and test

* added returning missed error

* changed params descriptions and server response error processing processing

* fixed retrying logic

* increased polling timeout params & refactored
2023-06-20 15:50:28 +03:00
Daria Kuznetsovaandsumeet patil cd71282f00 fix(codeqlExecuteScan): pagination call for getting codescanning results (#4370)
pagination call for getting code scanning results

---------

Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2023-05-31 14:07:09 +05:30
Daria Kuznetsova 7de6f38d98 fix(codeqlExecuteScan): fixed regexp pattern to correctly parse ssh url (#4349) 2023-05-05 18:57:47 +02:00
Daria Kuznetsova 47c5a16cc0 fix(codeqlExecuteStep): parsing git url with dots in repo name (#4318)
* change regexp to parse repo URL with dots in repo name
* added regex to cut off username and token from URL & added test cases
2023-04-04 21:16:15 +02:00
Daria Kuznetsova d6d1265eb9 feat(codeqlExecuteScan): added logging codeql version (#4271)
* added printing codeql version

* refactored duplicated code

* added else for logging codeql version
2023-03-14 13:48:42 +01:00
Daria Kuznetsova 9774eaab86 fix(codeqlExecuteScan): added parameters threads and ram (#4269) 2023-03-13 19:17:16 +05:30
Daria Kuznetsova cea2a6e290 feat(codeql): added generating file toolrun_codeql.json (#4240)
* added generating toolrun file for codeql
2023-02-22 22:30:53 +05:30
Daria Kuznetsova 2191e2d458 fix(codeqlExecuteScan): fixed duplication of language flag in codeql (#4229) 2023-02-13 21:14:25 +05:30
Daria Kuznetsova 4a1cf4fd45 feat(codeql): added stashes (#4196)
* added stashes for codeql metadata
2023-01-23 14:09:08 +05:30
Daria Kuznetsovaandsumeet patil 558fe8e62b fix(checkmarx): missing info in the custom report (#4137)
* fix(checkmarx): missing info in the custom report

Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2022-12-02 19:55:39 +05:30
Daria Kuznetsova 37141fed0a fix(checkmarx): bind githubTokenCredentialsId to githubToken (#4138) 2022-12-01 13:40:13 +05:30
Daria Kuznetsova e11fec77c5 fix(fortifyExecuteScan): Check empty source base path in fvdl (#4099)
* Check empty source base path in fvdl
2022-11-02 23:43:49 +05:30