Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GithubFunction connector not using the correct api endpoint #9078

Closed
aka0 opened this issue Sep 22, 2023 · 8 comments
Closed

GithubFunction connector not using the correct api endpoint #9078

aka0 opened this issue Sep 22, 2023 · 8 comments
Assignees
Labels
Connector Connector specialty review needed enhancement New feature or request Function Function

Comments

@aka0
Copy link

aka0 commented Sep 22, 2023

API endpoint https://api.github.com/repos/$orgName/$repoName/traffic/clones referenced in the GithubFunction connector only provides a "total number of clones and breakdown per day or week for the last 14 days" and does not produce actual Git clone events (who cloned repo from where).

Link to code:

$uri = "https://api.github.com/repos/$orgName/$repoName/traffic/clones"

Vendor doc reference: traffic/clones

Correct API endpoint should be: https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise#git

@github-actions
Copy link
Contributor

Thank you for submitting an Issue to the Azure Sentinel GitHub repo! You should expect an initial response to your Issue from the team within 5 business days. Note that this response may be delayed during holiday periods. For urgent, production-affecting issues please raise a support ticket via the Azure Portal.

@v-amolpatil v-amolpatil added Connector Connector specialty review needed Function Function labels Sep 23, 2023
@v-sudkharat
Copy link
Contributor

Hi @aka0, thanks for flagging this issue, we will soon get back to you on this. Thanks!

@v-rbajaj
Copy link
Contributor

v-rbajaj commented Oct 5, 2023

Hi @aka0, we are investigating on this issue and we will get back to you once there is an update.

@v-rbajaj v-rbajaj added the enhancement New feature or request label Oct 10, 2023
@v-rbajaj
Copy link
Contributor

Hi @aka0, we are reaching out to concerned team on this issue, you will get an update by 13 Oct 2023.

@v-rbajaj
Copy link
Contributor

v-rbajaj commented Nov 1, 2023

Hi @aka0, sorry for the delay, we are reaching out to concerned team on this issue, you will get an update by 07 Nov 2023

@v-rbajaj
Copy link
Contributor

v-rbajaj commented Nov 3, 2023

Hi @aka0, can you please let us to know which API exactly you are expecting to hit for getting the actual git clone events?
Moreover, the description of the data connector says that it is expected to gather Audit, Repo and vulnerability logs only.
image

@v-rbajaj
Copy link
Contributor

v-rbajaj commented Nov 7, 2023

Hi @aka0, Gentle Reminder: We are awaiting for your response on this issue. If you still need to keep this issue active please respond on it in the next 2 days . If we don't receive response, we will be close this issue.

@v-rbajaj
Copy link
Contributor

v-rbajaj commented Nov 9, 2023

Hi @aka0, Since we have not received a response in the last 5 days, we are closing your issue
#9078 as per our standard operating procedures. If you still need support for this issue, feel free to re-open at any time. Thank you for your co-operation.

@v-rbajaj v-rbajaj closed this as completed Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Connector Connector specialty review needed enhancement New feature or request Function Function
Projects
None yet
Development

No branches or pull requests

4 participants