-
Notifications
You must be signed in to change notification settings - Fork 276
Not showing any violation report in Storage Bucket #3768
Comments
Thank you for opening an issue. Our team's interrupts engineer will review your issue shortly. Issue Resolution:
|
Hi @pradhanaditya27, there is an issue with Forseti that is being addressed with a new release. Can you view the Stackdriver logs for the server VM and filter for errors? Can you see if the error listed on this bug shows up? This issue has been fixed on the main branch. |
@pradhanaditya27 The latest Forseti release is out to fix the model creation issue. Please upgrade at your convenience and let me know if violations report is available. You can upgrade with Terraform by setting the Forseti module version to |
Thanks Gregg for the recommendation. Forseti Notifier always stuck in below line and its stopped work last month only. 2020-08-08 14:04:57,238 INFO [forseti-security][2.23.2] google.cloud.forseti.notifier.notifier(run): Running 'gcs_violations' notifier for resource 'location_violations' |
First, help us help you by providing the following information when opening an issue.
Which version of Forseti Security you're using (look in
/home/ubuntu/forseti-security/google/cloud/forseti/init.py
on the client).
version_ = '2.23.2'
package_name = 'forseti-security'
Which module(s) (inventory, scanner, enforcer, explain) you're having trouble with.
Scanner violation report generation.
are having an issue with scanner/violation which is not able to sent the Violoation Report to Storage Bucket (not showing any violation report in Storage Bucket)
We sccusfully verified the "forseti notifier run", forseti config show, even Inventory is also getting collected as you can see from the below logs .
ubuntu@forseti-server-vm-357bccf7:~/forseti-security$ forseti notifier run
{
"serverMessage": "Notification completed!"
}
ubuntu@forseti-server-vm-357bccf7:~/forseti-security$ forseti config show
{'endpoint': 'localhost:50051', 'model': '', 'format': 'json'}
Inventry logs ->
{
"id": "1593576024412707",
"startTimestamp": "2020-07-01T04:00:24Z",
"completeTimestamp": "2020-07-01T04:08:50Z",
"schemaVersion": 1,
"countObjects": 10180,
"status": "SUCCESS",
"warnings": "Your inventory contains warning message(s), please run command
forseti inventory get 1593576024412707
for more information.","errors": ""
}
{
"id": "1593583212496402",
"startTimestamp": "2020-07-01T06:00:12Z",
"completeTimestamp": "2020-07-01T06:07:58Z",
"schemaVersion": 1,
"countObjects": 10180,
"status": "SUCCESS",
"warnings": "Your inventory contains warning message(s), please run command
forseti inventory get 1593583212496402
for more information.","errors": ""
}
{
"id": "1593590424198605",
"startTimestamp": "2020-07-01T08:00:24Z",
"completeTimestamp": "2020-07-01T08:09:40Z",
"schemaVersion": 1,
"countObjects": 10180,
"status": "SUCCESS",
"warnings": "Your inventory contains warning message(s), please run command
forseti inventory get 1593590424198605
for more information.","errors": ""
}
{
"id": "1593597612691551",
"startTimestamp": "2020-07-01T10:00:13Z",
"completeTimestamp": "2020-07-01T10:08:56Z",
"schemaVersion": 1,
"countObjects": 10150,
"status": "SUCCESS",
"warnings": "Your inventory contains warning message(s), please run command
forseti inventory get 1593597612691551
for more information.","errors": ""
}
{
"id": "1593604814259608",
"startTimestamp": "2020-07-01T12:00:14Z",
"completeTimestamp": "2020-07-01T12:10:08Z",
"schemaVersion": 1,
"countObjects": 10156,
"status": "SUCCESS",
"warnings": "Your inventory contains warning message(s), please run command
forseti inventory get 1593604814259608
for more information.","errors": ""
}
Via Terraform.
Secondly, if the issue is a feature request, be descriptive regarding what needs to be
changed and why, e.g. what to scan for, what would be a 'good' state and what would be
a 'violation' etc.
Finally, be sure to see the FAQ and Get Help
for assistance.
Thanks!
The text was updated successfully, but these errors were encountered: