Skip to content

Commit 754bb3b

Browse files
committed
Merge branch 'main' into 946-associate-commits-by-email-rebase
2 parents f8f10e2 + 79126ff commit 754bb3b

28 files changed

+2941
-3208
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ customize for your environment, see the [project's documentation](https://git-pr
9494

9595
## Contributing
9696

97-
Your contributions are at the core of making this a true open source project. Any contributions you make are **greatly appreciated**. See [`CONTRIBUTING.md`](CONTRIBUTING.md) for more information.
97+
Your contributions are at the core of making this a truly open source project. Any contributions you make are **greatly appreciated**. See [`CONTRIBUTING.md`](CONTRIBUTING.md) for more information.
9898

9999
## Security
100100

@@ -110,12 +110,12 @@ This project is distributed under the Apache-2.0 license. See [`LICENSE`](LICENS
110110

111111
## Contact
112112

113-
Drop a note, ask a question or just say hello in our [community Slack channel](https://app.slack.com/client/T01E7QRQH97/C06LXNW0W76) 👋
113+
Drop a note, ask a question or just say hello in our community Slack channel, which is accessible via the [FINOS Slack Workspace](https://finos-lf.slack.com) 👋
114114

115-
If you can't access Slack, you can also [subscribe to our mailing list](mailto:[email protected]).
115+
If you can't access Slack, you can also [subscribe to our mailing list](mailto:[email protected]) 📨
116+
117+
Otherwise, if you have a deeper query or require more support, please [raise an issue](https://github.com/finos/git-proxy/issues) 🧵
116118

117119
🤝 Join our [fortnightly Zoom meeting](https://zoom-lfx.platform.linuxfoundation.org/meeting/95849833904?password=99413314-d03a-4b1c-b682-1ede2c399595) on Monday, 4PM BST (odd week numbers).
118120
🌍 [Convert to your local time](https://www.timeanddate.com/worldclock)
119121
📅 [Click here](https://calendar.google.com/calendar/event?action=TEMPLATE&tmeid=MTRvbzM0NG01dWNvNGc4OGJjNWphM2ZtaTZfMjAyNTA2MDJUMTUwMDAwWiBzYW0uaG9sbWVzQGNvbnRyb2wtcGxhbmUuaW8&tmsrc=sam.holmes%40control-plane.io&scp=ALL) for the recurring Google Calendar meeting invite. Alternatively, send an e-mail to [[email protected]](https://zoom-lfx.platform.linuxfoundation.org/meeting/95849833904?password=99413314-d03a-4b1c-b682-1ede2c399595#:~:text=Need-,an,-invite%3F) to get a calendar invitation.
120-
121-
Otherwise, if you have a deeper query or require more support, please [raise an issue](https://github.com/finos/git-proxy/issues).

SECURITY.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
1-
## Reporting a vulnerability
1+
# Security Policy
22

3-
If you discover a vulnerability in git-proxy, please e-mail [[email protected]](mailto:[email protected]).
3+
GitProxy supports responsible disclosure of security vulnerabilities and adheres to the [FINOS Security Vulnerabilities Policy](https://community.finos.org/docs/governance/Software-Projects/cve-responsible-disclosure). If you find something you believe to be a security issue in GitProxy, we encourage and appreciate your report. Please report the issue privately to the project maintainers using one of the following methods:
44

5-
Thank you for improving the security of git-proxy.
5+
## Reporting a Vulnerability
6+
- **GitHub Security Reports:** In order for the vulnerability reports to reach maintainers as soon as possible, the preferred way is to use the ["Report a vulnerability"](https://github.com/finos/git-proxy/security/advisories) button under the "Security" tab of the associated GitHub project. This creates a private communication channel between the reporter and the maintainers.
7+
- **Email:** If you are unable to or have strong reasons not to use the GitHub Security vulnerability reporting feature, please email the maintainers and cc: [[email protected]](mailto:[email protected]) with a description of the vulnerability.
8+
9+
## Vulnerability Process
10+
11+
1. **Report the vulnerability privately** using one of the methods above. Do not create a public GitHub Issue or make any public reference to the vulnerability.
12+
2. The project team will acknowledge receipt of your report and triage the issue. If a vulnerability is confirmed, the team will work with you to investigate and resolve it.
13+
3. Once a fix is available, a release will be made and the vulnerability will be publicly disclosed in accordance with the [FINOS policy](https://community.finos.org/docs/governance/Software-Projects/cve-responsible-disclosure).

index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
#!/usr/bin/env tsx
22
/* eslint-disable max-len */
3+
import path from 'path';
34
import yargs from 'yargs';
45
import { hideBin } from 'yargs/helpers';
56
import * as fs from 'fs';
67
import { configFile, setConfigFile, validate } from './src/config/file';
8+
import { initUserConfig } from './src/config';
79
import proxy from './src/proxy';
810
import service from './src/service';
911

@@ -19,7 +21,7 @@ const argv = yargs(hideBin(process.argv))
1921
},
2022
config: {
2123
description: 'Path to custom git-proxy configuration file.',
22-
default: 'proxy.config.json',
24+
default: path.join(__dirname, 'proxy.config.json'),
2325
required: false,
2426
alias: 'c',
2527
type: 'string',
@@ -29,6 +31,7 @@ const argv = yargs(hideBin(process.argv))
2931
.parseSync();
3032

3133
setConfigFile(argv.c as string || "");
34+
initUserConfig();
3235

3336
if (argv.v) {
3437
if (!fs.existsSync(configFile)) {

0 commit comments

Comments
 (0)