Comments (6)
Will do!
And just in case it's unclear; the above entry is the result of updating the Member privileges -> Repository creation
setting in an enterprise organization. In this particular case we changed the setting from no privileges to Private
.
The json string is copy-paste from the response to https://api.github.com/orgs/{org}/audit-log
(via Postman).
from go-github.
There are a lot of inconsistencies between fields in audit log entries for different actions. IMO go-github shouldn't try to unmarshal any fields that aren't in the API definition because of inconsistencies like this.
from go-github.
Current response from tech support:
Thank you for reaching out. I agree this field is particularly confusing and I am also not sure about this boolean value. I have asked our engineers to take a second look and provide a definitive answer. Once I get further confirmation as to what this field is supposed to be, I will reach out to you.
from go-github.
Looking at this endpoint documentation: https://docs.github.com/en/enterprise-cloud@latest/rest/orgs/orgs?apiVersion=2022-11-28#get-the-audit-log-for-an-organization
I'm not seeing "permission" in the response schema at all, and "permission": true
doesn't make any sense to me, so I'm really confused as to why you are getting that back in the response at all.
To get to the bottom of this, would you mind contacting the GitHub Tech Support team and ask them how this field should be treated? Feel free to point them to this issue. Then, we would appreciate it if you could please report back here what your findings are and how we should handle this field. Thank you!
from go-github.
New reply from tech support:
The field is supposed to represent whether members can create repositories with any visibility at the time the event was written.
So, not really a reply at all.
This is a major issue on our side. Do you by any chance have an ETA for the fix?
from go-github.
This is a major issue on our side. Do you by any chance have an ETA for the fix?
You could speed the process along by reviewing the proposed fix: #3017.
I need a second LGTM+Approval in order to merge.
from go-github.
Related Issues (20)
- commit api HOT 3
- Passing the http.DefaultClient to a New client can lead to breakdowns HOT 9
- Transactional support when updating multiple files HOT 1
- Go Github Bypass Unexported HOT 5
- AuditEntry is missing referrer field
- UploadSarif Always Returns An Error HOT 3
- FYI: New official alpha Go SDK released based on Kiota
- Bug: IssueEvent missing the action key HOT 2
- Access token leakage when reusing the client between users HOT 7
- Could you release new version more frequently? HOT 3
- Add MergedAt field to PullRequestLinks
- Add Topics to EditChange struct HOT 2
- Add support for Actions list jobs for a workflow run attempt HOT 3
- Listing Projects in a Repository HOT 6
- Repository Custom Properties: Add getters and setters HOT 1
- Proposal/Question: Release frequency HOT 5
- Hook should contain Config of type HookConfig HOT 5
- DownloadReleaseAsset breaks with renamed repository HOT 3
- Add support for Label exclusion in IssuesListOptions HOT 8
- Number of files/lines of code from *github.Repository 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 go-github.