Jonathan Christison
5ca4917bf4
Fix app properties service account reference
3 years ago
Jonathan Christison
f66b910de7
Use SA in general profile
3 years ago
Jonathan Christison
7d61509b12
Changing this to Blocking as the vertx thread is timing out
...
Its possible tekton is responding for some reason
3 years ago
Jonathan Christison
69445ad0d4
Use stage env DB setup
3 years ago
Jonathan Christison
bfd887c40e
Add hack/examples of calling single endpoints
3 years ago
Jonathan Christison
43d06684fb
Make task handler public so vertx can trigger it
...
Also changed pssaas to autofire endpoint for easier hacking
3 years ago
Jonathan Christison
bae9ca9be8
Add quarkus-kubernetes-config for DB setup on stage
...
Also set swagger-ui to always be enabled
3 years ago
Jonathan Christison
3f1e048fe6
Use postgres deployment in pct-sec namepsace
3 years ago
Jonathan Christison
c0e9019fd6
Add missing class
3 years ago
Jonathan Christison
5c96690241
Add authenticated annotation to endpoints that have actions
3 years ago
Jonathan Christison
24059710cb
Remove JSON elements when NULL
...
Added new Resource endpoints for ScanRequests and ScanRequest
Start fleshing out invoke parameters to pass to scan
3 years ago
Jonathan Christison
c724442abb
We dont need to return every field, especially private ones
3 years ago
Jonathan Christison
707e9d4fbb
Fix cascade for brew and pnc types
...
Change endpoint in hack test script, these should be moved to unit tests
3 years ago
Jonathan Christison
603dc500de
Hacking around eventBus injection by passing it to be set
...
It will be better to instantiate EventBus directly but not sure on the
constructor for this
3 years ago
Jonathan Christison
be2f54c9c0
Set some fields to be public for json return
3 years ago
Jonathan Christison
2fd582e2ca
ORM kinda working
3 years ago
Jonathan Christison
354745f7a0
Still adding ORM
3 years ago
Jonathan Christison
72e3b0f0b3
Start adding picocli as way of verifying CLI args
3 years ago
Jonathan Christison
7fffbe22ba
Decouple ScanRequest from tekton runs
...
We will use an eventbus to listen for "executed"/triggered ScanRequests
and respond with tekton runID to check up on later
3 years ago
Jonathan Christison
5149a807f3
Fix typo add swagger-ui
3 years ago
Jonathan Christison
64c84c8764
Call run on the single-git-scan.sh
...
Also call run on the Scan
Fix typos
3 years ago
Jonathan Christison
85c798b0a7
Add pipeline run code for demo
3 years ago
Jonathan Christison
045df604a0
Start adding ORM support
3 years ago
Jonathan Christison
5b76dcfb83
Change SA and RBAC
...
Applied SA change with `oc patch sa/osh-wrapper-client-sa --patch-file
service-account.yaml`
3 years ago
Jonathan Christison
9e9d3b36ed
Run under osh-wrapper-client-sa
3 years ago
Jonathan Christison
a15014e106
Example usage
3 years ago
Jonathan Christison
6b9aa75213
Add tekton task, use defaultClient, injection woes
3 years ago
Jonathan Christison
c3aa30b2b4
Add jackson support
3 years ago
Jonathan Christison
24660d8f85
Start adding validation and some primative endpoints
3 years ago
Jonathan Christison
5f8498bb0c
Remove implementation to start again
3 years ago
Nicholas Caughey
b073fa4c73
Merge branch 'k8s_organisation' into 'main'
...
Clean up of yaml files before kustomization
See merge request pct-security/covscanrest!9
3 years ago
Jonathan Christison
c9bf460cad
Now SA has been extended with oshwrapper pull secret switch to it for
...
testing
3 years ago
Jonathan Christison
91d7911338
Link osh SA created by quarkus with osh-wrapper-client-pull secrets
3 years ago
Jonathan Christison
4a4892c9ba
Remove service account declartion in application properties
...
This didn't work, altered RBAC to bind to osh SA instead
3 years ago
Jonathan Christison
e773802b00
Move to hack dir
...
This is a pipelineRun which will be ran from the quarkus app so it
shouldn't be deployed as part of the deployment proccess which is why
k8's dir exists
3 years ago
Jonathan Christison
7c674c215c
Link to the osh-wrapper client service account
3 years ago
Jonathan Christison
23499fd7e8
Bind existing SA and tekton role
3 years ago
Jonathan Christison
b39b28dc65
Clean up of yaml files before kustomization
...
See
a9d9ca49bf
for the original repo these are ported from
3 years ago
Nicholas Caughey
5c3671a2c6
fixed every warning from quarkus except the split package issue which can be tracked with issue#4
3 years ago
Nicholas Caughey
641bac76cb
fixing duplicate dependencys
3 years ago
Nicholas Caughey
1d97dcbbdb
add docker file to k8
3 years ago
Nicholas Caughey
4559146ad1
Merge branch 'openshift_inject_rte_fix' into 'main'
...
Fix problem with openshift deploy and jakarta injection
See merge request pct-security/covscanrest!8
3 years ago
Jonathan Christison
02c461395c
Fix problem with openshift deploy and jakarta injection
3 years ago
Nicholas Caughey
12f983cd22
Merge branch 'local_dev_fixes' into 'main'
...
Disable Kerberos and other Auths in dev profile
See merge request pct-security/covscanrest!7
3 years ago
Jonathan Christison
9d76e78393
Disable Kerberos and other Auths in dev profile
...
Added a /ping endpoint to return "pong", this should help test auth
If in dev:
* Disables kerberos specific endpoint (runtime injection issues)
* Disable Security altogether
3 years ago
Nicholas Caughey
865c628bb2
fixed the pom and other issues from a bad merge
3 years ago
Nicholas Caughey
c0b2f78719
Merge branch 'brewbuild' into 'main'
...
added the brewnvr innvocation
See merge request pct-security/covscanrest!6
3 years ago
Nicholas Caughey
e35882520f
added the brewnvr innvocation
3 years ago
Nicholas Caughey
f7853db788
Merge branch 'exception_work' into 'main'
...
Exception work
See merge request pct-security/covscanrest!5
3 years ago
Nicholas Caughey
275014b89a
Merge branch 'main' into 'exception_work'
...
# Conflicts:
# pom.xml
# src/main/java/rest/CreateScanRequest.java
# src/main/java/rest/CreateScanResource.java
# src/main/java/rest/CreateStartScan.java
# src/main/java/rest/StoreData.java
3 years ago