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

First version of the GrafanaLogsBackendWithJenkinsVisualization #865

Merged
merged 7 commits into from
Jun 25, 2024

Conversation

cyrille-leclerc
Copy link
Contributor

@cyrille-leclerc cyrille-leclerc commented Jun 14, 2024

First version of the GrafanaLogsBackendWithJenkinsVisualization

image image

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

Signed-off-by: Cyrille Le Clerc <cyrille.leclerc@grafana.com>
Signed-off-by: Cyrille Le Clerc <cyrille.leclerc@grafana.com>
Signed-off-by: Cyrille Le Clerc <cyrille.leclerc@grafana.com>
…quest-parameters`

Signed-off-by: Cyrille Le Clerc <cyrille.leclerc@grafana.com>
# Conflicts:
#	pom.xml
#	src/main/java/io/jenkins/plugins/opentelemetry/OpenTelemetrySdkProvider.java
@cyrille-leclerc cyrille-leclerc marked this pull request as ready for review June 21, 2024 12:38
@Extension(ordinal = 50)
public static class DescriptorImpl extends GrafanaLogsBackend.DescriptorImpl {

public FormValidation doCheckLokiUrl(@QueryParameter("lokiUrl") String url) {

Check warning

Code scanning / Jenkins Security Scan

Stapler: Missing POST/RequirePOST annotation Warning

Potential CSRF vulnerability: If DescriptorImpl#doCheckLokiUrl connects to user-specified URLs, modifies state, or is expensive to run, it should be annotated with @POST or @RequirePOST
@Extension(ordinal = 50)
public static class DescriptorImpl extends GrafanaLogsBackend.DescriptorImpl {

public FormValidation doCheckLokiUrl(@QueryParameter("lokiUrl") String url) {

Check warning

Code scanning / Jenkins Security Scan

Stapler: Missing permission check Warning

Potential missing permission check in DescriptorImpl#doCheckLokiUrl
kuisathaverat
kuisathaverat previously approved these changes Jun 21, 2024
@kuisathaverat kuisathaverat added the enhancement New feature or request label Jun 21, 2024
@kuisathaverat
Copy link
Contributor

The merge will trigger a release, so it is better to merge on Monday.

@cyrille-leclerc
Copy link
Contributor Author

A last review please @kuisathaverat 👼 a few security improvements

@cyrille-leclerc cyrille-leclerc merged commit 46101e2 into main Jun 25, 2024
16 checks passed
@cyrille-leclerc cyrille-leclerc deleted the grafana-loki-logs-backend-with-jenkins-viz branch June 25, 2024 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend/grafana enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants