Comments (15)
I’ll take a look on it
from policy-reporter.
okay, will fix it and prepare another build
from policy-reporter.
there is no interval, it writes each event for new results as soon as a new result was detected
from policy-reporter.
I’ll take a look on it
In addition, I tried passingtarget.gcp.credentials: "" and target.gcp.secretRef: "secretName"
but still, have the same log output.
from policy-reporter.
I merged a fix for it, I try to release it at the end of the week. Do you want a test build you can try?
from policy-reporter.
Definitely, if you can provide a new image and tag, I'd like to try it. Thanks for such a quick solution.
from policy-reporter.
So how can I access the test build? I checked the CI pipeline but couldn't figure it out.
from policy-reporter.
I created a tag 2.19.0-RC1 which you can test. Just overwrite the image.tag
value with 2.19.0-RC1
.
from policy-reporter.
Tested it, still having the same error.
gcs: enabled: true # GCS (Google Cloud Storage) Service Accout Credentials credentials: "{}" # receive the credentials from an existing secret instead secretRef: "" # Mounted secret path by Secrets Controller, secret should be in json format mountedSecret: "" # GCS Bucket bucket: "trivy-docs" # minimum priority "" < info < warning < critical < error minimumPriority: "" # list of sources which should send to GCS sources: [] # Skip already existing PolicyReportResults on startup skipExistingOnStartup: true # Added as additional properties to each gcs event customFields: {} # filter results send by namespaces, policies and priorities filter: {} # add additional s3 channels with different configurations and filters channels: []
is the configuration I use. The error log is same as in the first post in this issue.
from policy-reporter.
credentials
needs to be an empty string, not an empty object string.
from policy-reporter.
Also tried that, credentials: "" gives the same error.
from policy-reporter.
which error? error while creating GCS credentials
?
from policy-reporter.
In the pod logs, you see it as "1.7151700083750553e+09 error GoogleCloudStorage.Credentials has not been declared"
from policy-reporter.
You can test tag 2.19.0-RC2
from policy-reporter.
It says "GoogleCloudStorage configured" now :) Thank you. But I wonder, since there is no information on docs, what is the time interval for that? I mean, it writes to GCP Buckets for every 5 mins, 1 hour or so...
Again, thanks for quick build and solution.
from policy-reporter.
Related Issues (20)
- Problem with sending messages to Telegram HOT 2
- [UI] Standalone UI HOT 56
- Add ability to set request headers in Loki target HOT 2
- Download report html via api HOT 6
- Policy Reporter no longer working after kyverno 1.11.0 upgrade HOT 2
- Splunk as a target HOT 1
- [DOCS] The external-cluster section needs to mention that rest.enabled: true is required HOT 1
- Policy Reporter Targets as CRDs HOT 1
- Include the timestamp HOT 4
- Policy Reporter not aligned with Kyverno HOT 5
- Helm chart won't start due to "Error: unknown flag: --template-dir" HOT 2
- Kyverno Policy Reporter writes extensively on node disk storage in certain ocassions. HOT 1
- strange S3 config error when using SecurityHub as target HOT 3
- Helm: Ingress template has wrong selection for pathType
- Allow for not rendering a Kubernetes Secret HOT 2
- policy-reporter presents incomplete results HOT 7
- Slack Channel Override does not work HOT 3
- Support for new reports.x-k8s.io reports group
- Support for multicluster HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from policy-reporter.