Commit Graph
34 Commits
Author SHA1 Message Date
dda0288dcd refactor(events): Remove obsolete eventing config fields (#5704)
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2026-04-20 08:39:33 +02:00
ede6a5b7a5 chore(event): send pipelineRunID (#5690)
Co-authored-by: maxcask <bondarcask@gmail.com>
2026-03-30 11:14:22 +02:00
ValentinandGitHub 0254369357 refactor: Go step templates and Eventing (#5659) 2026-02-25 15:58:35 +02:00
Christopher FennerandGitHub a3e2f215e5 feat(eventing): send pipelinetaskrunfinished events from within a step (#5633) 2026-02-09 09:15:17 +01:00
Timur AkhmadievandGitHub 48582710bd feat(codeql): ignore paths and scan paths (#5477) 2025-09-12 17:37:30 +02:00
Timur AkhmadievandGitHub d3a0c8fcad feat(codeqlExecuteScan): multi language support (#5462) 2025-08-29 13:01:14 +03:00
phgermanovandGitHub c2237feeae feat: add GitHub Actions log format support and auto-detect environment (#5450) 2025-08-18 17:49:20 +03:00
f13c273b63 refactor(GCS): Unify with internal impelementation (#5283)
Co-authored-by: Gulom Alimov <gulomjon.alimov@sap.com>
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2025-03-07 13:27:14 +02:00
5561d2a8ca chore(telemetry): Remove pendo remains (#5256)
* Remove Pendo from telemetry package

* Remove Pendo from telemetryClient.Initialize

* Remove Pendo remains

* go generate / remove Pendo remains

* go fmt

* Fix tests

* go generate / remove Pendo remains

* Fix test

* Fix test

* Remove unused code

* Remove deprecated Pendo functionality

* Don't use NoTelemetry flag

* Don't use NoTelemetry flag

* Remove unused imports

* Remove unused imports

* Make GeneralConfig.NoTelemetry:true by default

---------

Co-authored-by: Ivan Nikiforov <ivan.nikiforov@sap.com>
2025-02-07 12:18:01 +01:00
ManjunathandGitHub 364238f154 handle error while fetching working directory (#5168) 2024-11-04 14:20:37 +01:00
GooglomandGitHub af05acad58 feat(events): Publish events to GCP PubSub by each step (#5122)
* test

* test

* draft

* generator

* some polishing

* go mod tidy

* fix unit

* fix unit

* fix unit

* fix unit

* fix unit

* resolve review comments

* resolve review comments

* add debug message on successful publish

* refactor to use global vault client

* cleanup

* rename

* clenup

* refactor

* remove token revocation

* handle nil vaultClient and add comments

* feat(events): Publish events (generated part) (#5131)

* add generated

* add generated

* refactor vaultClient usage

* fix unit tests

* fix unit tests

* fix
2024-10-11 14:55:39 +05:00
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
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
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
Vyacheslav StarostinandGitHub b644bf7e15 Use Pendo as analytics tool (#4828)
* Try pendo

* Try pendo

* Fix typo

* Optimize data struct

* Adjust kaniko and kubernetes to try pendo

* Include golangBuild

* Update generator helper

* go generate

* Delete token param from some steps && go generate

* Add checking on ExportPrefix

* Update telemetry struct

* Try pipelineID for artifactPrepVersion

* Try pipelineID as a CPE value

* Update

* Try CF

* Read pipelineID from CPE

* Enable telemetry

* Fix name

* Do not show token in header

* Read pipelineID from CPE

* Clean up

* Clean up

* Update template

* go generate

* Update template

* Try Cribl

* HTTPS

* Update

* Clean-up

* Fix tests

* Update
2024-02-20 17:17:20 +06:00
Daria KuznetsovaandGitHub 668b3711a3 fix(codeqlExecuteScan): improved logging (#4817) 2024-02-05 15:54:49 +05:30
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 KuznetsovaandGitHub 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 KuznetsovaandGitHub 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
59c2f75ce1 Splunk: Initialize Splunk client if dsn or prodCriblEndpoint provided (#4653)
* Initialize Splunk client if dsn or prodCriblEndpoint provided

* Fix tests

* Apply suggestions from code review

* go generate

---------

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2023-11-06 14:25:13 +06:00
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
Vyacheslav StarostinandGitHub 3d63ce235c Add the possibility to push data to Splunk Prod (#4459)
* Add Splunk Prod

* Update test data

* Update naming

* Unit-test: update naming

* Fix

* Fix typo

* Fix test

* go generate
2023-07-14 19:19:57 +06:00
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 KuznetsovaandGitHub 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
sumeet patilandGitHub 416cb1d327 fix(codeqlExecuteScan): added report file to output resources (#4388) 2023-06-02 18:31:52 +05:30
sumeet patilandGitHub 1c018dbff7 feat(codeqlExecuteScan) : auto fill api url (#4369) 2023-05-22 19:59:43 +05:30
6dad124367 feat(codeqlExecuteScan): CodeQL compliance report and check (#4335)
* CodeQL compliance report and check

* fix test cases

---------

Co-authored-by: Daria Kuznetsova <d.kuznetsova@sap.com>
2023-04-28 15:47:05 +02:00
sumeet patilandGitHub d5d486ae3f docs(codeqlExecuteScan): Improve codeqlExecuteScan githubToken docs (#4292) 2023-03-22 18:14:04 +05:30
Daria KuznetsovaandGitHub 9774eaab86 fix(codeqlExecuteScan): added parameters threads and ram (#4269) 2023-03-13 19:17:16 +05:30
Daria KuznetsovaandGitHub 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 KuznetsovaandGitHub 4a1cf4fd45 feat(codeql): added stashes (#4196)
* added stashes for codeql metadata
2023-01-23 14:09:08 +05:30
sumeet patilandGitHub 818be9d428 feat(codeql): new codeql db parameter (#3902) 2022-07-20 10:07:57 +02:00
sumeet patilandGitHub 9c4446ae0a feat(codeql) merge commit git reference (#3877)
Sets git reference and gitRemoteCommitId.
Jenkins has 2 strategies - 'Merging the pull request with the current target branch revision' and 'The current pull request revision'. When 'Merging the pull request with the current target branch revision' is run, Jenkins creates a local merge commit and runs a job for that particular merge commitId. This commitId is then used for codeql to upload sarif, on upload it throws an error as the merge commit does not exist in github. To resolve this we have introduces a new variable 'gitRemoteCommitId' in commonPipelineEnvironment which gives the remote merge commit id.
2022-07-12 10:25:17 +02:00
sumeet patilandGitHub 78cf40799e feat(codeql): new codeql piper step (#3765)
* codeql piper step
2022-06-24 09:04:24 +02:00