Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Cloud Evidence Collector
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MEDINA
Public
Cloud Evidence Collector
Commits
6db47b69
Commit
6db47b69
authored
2 years ago
by
Kunz, Immanuel
Browse files
Options
Downloads
Patches
Plain Diff
add header, remove CICD information
parent
8f5bc7bc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmd/collector/collector.go
+25
-0
25 additions, 0 deletions
cmd/collector/collector.go
kubernetes/collector.yml
+0
-101
0 additions, 101 deletions
kubernetes/collector.yml
with
25 additions
and
101 deletions
cmd/collector/collector.go
+
25
−
0
View file @
6db47b69
// Copyright 2019-2022 Fraunhofer AISEC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// $$\ $$\ $$$$$$$$\ $$$$$$$\ $$$$$$\ $$\ $$\ $$$$$$\
// $$$\ $$$ |$$ _____|$$ __$$\ \_$$ _|$$$\ $$ |$$ __$$\
// $$$$\ $$$$ |$$ | $$ | $$ | $$ | $$$$\ $$ |$$ / $$ |
// $$\$$\$$ $$ |$$$$$\ $$ | $$ | $$ | $$ $$\$$ |$$$$$$$$ |
// $$ \$$$ $$ |$$ __| $$ | $$ | $$ | $$ \$$$$ |$$ __$$ |
// $$ |\$ /$$ |$$ | $$ | $$ | $$ | $$ |\$$$ |$$ | $$ |
// $$ | \_/ $$ |$$$$$$$$\ $$$$$$$ |$$$$$$\ $$ | \$$ |$$ | $$ |
// \__| \__|\________|\_______/ \______|\__| \__|\__| \__|
//
// This file is part of the MEDINA Framework.
package
main
import
(
...
...
This diff is collapsed.
Click to expand it.
kubernetes/collector.yml
deleted
100644 → 0
+
0
−
101
View file @
8f5bc7bc
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
labels
:
app
:
cloud-evidence-collector
name
:
cloud-evidence-collector
spec
:
replicas
:
1
selector
:
matchLabels
:
app
:
cloud-evidence-collector
template
:
metadata
:
labels
:
app
:
cloud-evidence-collector
spec
:
containers
:
-
image
:
imagePullPolicy
:
Always
name
:
cloud-evidence-collector
ports
:
-
containerPort
:
8081
-
containerPort
:
9091
env
:
-
name
:
ASSESSMENT_URL
value
:
"
security-assessment-grpc-svc:9092"
-
name
:
AUTH_JWKS_URL
value
:
-
name
:
OAUTH2_CLIENT_ID
value
:
-
name
:
OAUTH2_CLIENT_SECRET
value
:
-
name
:
OAUTH2_TOKEN_URL
value
:
-
name
:
TIME
value
:
{{
time
}}
-
name
:
AZURE_CLIENT_ID
valueFrom
:
secretKeyRef
:
name
:
cloud-evidence-collector-secrets
key
:
AZURE_CLIENT_ID
-
name
:
AZURE_CLIENT_SECRET
valueFrom
:
secretKeyRef
:
name
:
cloud-evidence-collector-secrets
key
:
AZURE_CLIENT_SECRET
-
name
:
AZURE_TENANT_ID
valueFrom
:
secretKeyRef
:
name
:
cloud-evidence-collector-secrets
key
:
AZURE_TENANT_ID
-
name
:
SUBSCRIPTION_ID
valueFrom
:
secretKeyRef
:
name
:
cloud-evidence-collector-secrets
key
:
SUBSCRIPTION_ID
imagePullSecrets
:
-
name
:
regcred
---
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
cloud-evidence-collector-svc
spec
:
ports
:
-
port
:
8081
protocol
:
TCP
targetPort
:
8081
name
:
rest
-
port
:
9091
targetPort
:
9091
name
:
grpc
selector
:
app
:
cloud-evidence-collector
---
apiVersion
:
networking.k8s.io/v1
kind
:
Ingress
metadata
:
name
:
cloud-evidence-collector
annotations
:
cert-manager.io/issuer
:
"
letsencrypt-production"
cert-manager.io/renew-before
:
168h
acme.cert-manager.io/http01-edit-in-place
:
"
true"
spec
:
ingressClassName
:
nginx
tls
:
-
hosts
:
-
cloud-evidence-collector-dev.k8s.medina.org
secretName
:
cloud-evidence-collector-tls
rules
:
-
host
:
cloud-evidence-collector-dev.k8s.medina.org
http
:
paths
:
-
path
:
/
pathType
:
Prefix
backend
:
service
:
name
:
cloud-evidence-collector
port
:
number
:
8081
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment