Open apalooza1 opened 6 years ago
Did the task still run? That may be a bad debug/error statement. Did you set a user and/or org in the task configuration?
It looks like that error should appear if you've selected a system metadata key for list of organizations/users but the value can't be parsed. Do you have something selected for the "Organization/Users from Metadata" option?
Nothing was selected under org/user. Similar to the guide.
Running with 'Netflix', generated error Id 39,
An error occurred in Github Repo Sync. Error: GET https://api.github.com/orgs/Netlfix/repos: 404 - Not Found
You need to specify a github org to sync (exp. Netflix) if you are planning on leveraging that task. I'll update the screenshot to reflect that. Can you try adding in an Org and let us know if that resolves the issue?
-Scott
@sbehrens Running with 'Netflix', generated error:
An error occurred in Github Repo Sync. Error: GET https://api.github.com/orgs/Netlfix/repos: 404 - Not Found
You spelled Netflix wrong.
That would do it...can't believe I did not catch that.
The task ran and generated results. However it also threw this same error.
Error| "Could not parse System Metadata for users/organizations, skipping"
Sounds good, looks like that error message should be a warning or informational. If you feel like submitting a PR to fix that, take a look at: https://github.com/Netflix/Scumblr/blob/master/lib/scumblr_tasks/security/github_analyzer.rb
And what line that exception is being thrown on, most likely the method create_event("string", "Error") can be replaced with create_event("string", "Warn")
Following the guide and setting up my First Sync Task, I get the following error after executing. Any thoughts?
Id | 21 Eventable | Task 2 Action | Error User | Source | Task: Github Repo Sync Details | Could not parse System Metadata for users/organizations, skipping