Skip to content

feat: citi hackathon code submission #1655

feat: citi hackathon code submission

feat: citi hackathon code submission #1655

Triggered via pull request November 28, 2024 05:35
@Psingle20Psingle20
edited #798
Status Success
Total duration 13s
Artifacts

pr-lint.yml

on: pull_request_target
Validate & Label PR
5s
Validate & Label PR
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Validate & Label PR
Resource not accessible by integration { name: 'HttpError', id: '12063149766', status: 403, response: { url: 'https://api.github.com/repos/finos/git-proxy/releases', status: 403, headers: { 'access-control-allow-origin': '*', 'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset', connection: 'close', 'content-encoding': 'gzip', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Thu, 28 Nov 2024 05:35:59 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'github.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', 'transfer-encoding': 'chunked', vary: 'Accept-Encoding, Accept, X-Requested-With', 'x-accepted-github-permissions': 'contents=write; contents=write,workflows=write', 'x-content-type-options': 'nosniff', 'x-frame-options': 'deny', 'x-github-api-version-selected': '2022-11-28', 'x-github-media-type': 'github.v3; format=json', 'x-github-request-id': '3C49:14C191:A7338A:148B1FB:6748013F', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4984', 'x-ratelimit-reset': '1732775491', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '16', 'x-xss-protection': '0' }, data: { message: 'Resource not accessible by integration', documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release', status: '403' } }, request: { method: 'POST', url: 'https://api.github.com/repos/finos/git-proxy/releases', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.18.0 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: `{"target_commitish":"refs/heads/main","name":"Version 1.7.1","tag_name":"v1.7.1","body":"### What's Changed\\n\\n* No changes\\n\\n---\\n\\n*Full Changelog**: https://github.com/finos/git-proxy/compare/v1.7.0...v1.7.1\\n","draft":true,"prerelease":false,"make_latest":"true"}`, request: {} }, event: { id: '12063149766', name: 'pull_request_target', payload: { action: 'edited', changes: { body: { from: '\r\n' + '**The code has been moved to #809** \r\n' + '\r\n' + '\r\n' + 'This PR can be considered as a submission for the FinOS CitiHackathon. \r\n' + 'Team members:\r\n' + '\r\n' + '- Prachit Ingle [Psingle20]( https://github.com/Psingle20)\r\n' + '- Shabbir Kaderi [shabbirflow]( https://github.com/shabbirflow)\r\n' + '- Chaitanya Deshmukh [ChaitanyaD48](https://github.com/ChaitanyaD48)\r\n' + '\r\n' + '---\r\n' + 'This PR solves issue #745 #788 #796 #797 #765 \r\n' + '\r\n' + '# GITPROXY PLUGINS\r\n' + '\r\n' + 'We have worked on the following features :\r\n' + '\r\n' + '- **Sensitive Data Detection ( in files like `.json`, `.xlsx`, `.csv` )**\r\n' + '- **Check EXIF Metadata from Images ( `.jpg`, `.jpeg`, `.tiff` )**\r\n' + '- **Detection of AI/ML usage (incl. weights, models etc.)**\r\n' + '- **Vulnerability Detection using GitLeaks**\r\n' + '- **Detection of Non-Standard Cryptography Usage**\r\n' + '\r\n' + '---\r\n' + '**Some Modifications for the Gitleaks and Non-Standard Cryptography Usage are required.**\r\n' + '\r\n' + '## **Sensitive Data Detection ( in files like `.json`, `.xlsx`,
Validate & Label PR
HttpError: Resource not accessible by integration at /home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:8462:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '12063149766', name: 'pull_request_target', payload: { action: 'edited', changes: { body: { from: '\r\n' + '**The code has been moved to #809** \r\n' + '\r\n' + '\r\n' + 'This PR can be considered as a submission for the FinOS CitiHackathon. \r\n' + 'Team members:\r\n' + '\r\n' + '- Prachit Ingle [Psingle20]( https://github.com/Psingle20)\r\n' + '- Shabbir Kaderi [shabbirflow]( https://github.com/shabbirflow)\r\n' + '- Chaitanya Deshmukh [ChaitanyaD48](https://github.com/ChaitanyaD48)\r\n' + '\r\n' + '---\r\n' + 'This PR solves issue #745 #788 #796 #797 #765 \r\n' + '\r\n' + '# GITPROXY PLUGINS\r\n' + '\r\n' + 'We have worked on the following features :\r\n' + '\r\n' + '- **Sensitive Data Detection ( in files like `.json`, `.xlsx`, `.csv` )**\r\n' + '- **Check EXIF Metadata from Images ( `.jpg`, `.jpeg`, `.tiff` )**\r\n' + '- **Detection of AI/ML usage (incl. weights, models etc.)**\r\n' + '- **Vulnerability Detection using GitLeaks**\r\n' + '- **Detection of Non-Standard Cryptography Usage**\r\n' + '\r\n' + '---\r\n' + '**Some Modifications for the Gitleaks and Non-Standard Cryptography Usage are required.**\r\n' + '\r\n' + '## **Sensitive Data Detection ( in files like `.json`, `.xlsx`, `.csv` )**\r\n' + '\r\n' + '\r\n' + 'Features:\r\n' + 'This solves issue #745\r\n' + '\r\n' + '- https://github.com/Psingle20/git-proxy/blob/CitiHackathon/src/proxy/processors/push-action/checkSensitiveData.js - This file contains the detection logic\r\n' + '- For this to work, it is required to configure `proxy.config.json` with the file types for which sensitive data detection is required, for ex:\r\n' + '\r\n' + '```json\r\n' + ' "diff": {\r\n' + ' "block": {\r\n' + ' "literals": [],\r\n' + ' "patterns": [],\r\n' + ' "providers": {},\r\n' + ' "proxyFileTypes": [".csv", ".xlsx", ".log", ".json"]\r\n' + ' }\r\n' + ' },\r\n' + '```\r\n' + '\r\n' + '- https://github.com/Psingle20/git-proxy/blob/CitiHackathon/test/CheckSensitive.test.js - Relevant tests are mentioned in this file\r\n' + '\r\n' + '---\r\n' + '\r\n' + '## **Check EXIF Metadata from Images ( `.jpg`, `.jpeg`, `.tiff` )**\r\n' + '\r\n' + 'Features:\r\n' + 'This solves issue #796\r\n' + '- https://github.com/Psingle20/git-proxy/blob/CitiHackathon/src/proxy/processors/push-action/checkExifJpeg.js - This file contains the logic for EXIF Metadata retrieval and parsing.\r\n' + '- The user can configure `proxy.config.json` with the file types for which EXIF Metadata needs to be detected.\r\n' + '\r\n' + '```json\r\n' + ' "diff": {\r\n' + ' "block": {\r\n' + ' "literals": [],\r\n' + ' "patterns": [],\r\n' + ' "providers": {},\r\n' + ' "proxyFileTypes": [".jpg", ".jpeg", ".tiff"]\r\n' + ' }\r\n' + ' },\r\n' + '```\r\n' + '\r\n' + '- This will block push event