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

provide API for CI/CD Pipelines #88

Open
lreading opened this issue Apr 29, 2021 · 4 comments
Open

provide API for CI/CD Pipelines #88

lreading opened this issue Apr 29, 2021 · 4 comments
Labels
API enhancement New feature or request

Comments

@lreading
Copy link
Collaborator

Describe what problem your feature request solves
Provide an API for CI/CD pipelines

Describe the solution you'd like
Provide an API for CI/CD pipelines, see here for an example

Additional context

  • What functions are exposed for this API?
  • How do we handle authentication/authorization?
  • What do we use to document the API? (main github docs, auto-generated via swagger or apidoc?)
@micheelengronne
Copy link

I am in favor of swagger to document it. Many tools exist to extract the API structure from swagger and integrate it in other systems.

For auth/auth I am in favor of Oauth2 and OIDC. It would make it easy to integrate in a larger CI system (like Gitlab, Gitea, etc...) and access their CI pipelines.

For the functions, I see at least 2 main ones :

  • push a source code and get back a threat-dragon json from it (the source code may be annotated to help)
  • push tests results (junit xml for instance) and push a threat-dragon json and get a comparison analysis back

@jgadsden jgadsden changed the title API for CI/CD Pipelines v2 - API for CI/CD Pipelines Feb 10, 2022
@jgadsden
Copy link
Collaborator

Following @ShubhamPalriwala 's suggestion, this may be a good feature for the 2022 Google Summer of Code:
https://github.com/OWASP/www-community/commits/master/pages/initiatives/gsoc/gsoc2022ideas.md

@jgadsden jgadsden added the GSoC Google Summer of Code label Feb 10, 2022
@jgadsden jgadsden changed the title v2 - API for CI/CD Pipelines provide API for CI/CD Pipelines Aug 13, 2022
@jgadsden jgadsden added version-2.x and removed version-2.0 GSoC Google Summer of Code labels Aug 31, 2022
Copy link

github-actions bot commented May 5, 2024

This issue is stale because it has been open for 6 months with no activity.

@github-actions github-actions bot added the Stale label May 5, 2024
@jgadsden
Copy link
Collaborator

This is still a valid issue, and is covers the points made on the API in issue #344

@jgadsden jgadsden removed the Stale label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants