Skip to content

Commit 00fafa5

Browse files
doc: Adds security and conduct details for sswg
1 parent 0289dba commit 00fafa5

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,13 @@ should be encoded using the `GraphQLJSONEncoder` provided by this package.
124124

125125
## Contributing
126126

127+
If you think you have found a security vulnerability, please follow the
128+
[Security guidelines](SECURITY.md).
129+
130+
Those contributing to this package are expected to follow the [Swift Code of Conduct](https://www.swift.org/code-of-conduct/), the
131+
[Swift API Design Guidelines](https://swift.org/documentation/api-design-guidelines/), and the
132+
[SSWG Technical Best Practices](https://github.com/swift-server/sswg/blob/main/process/incubation.md#technical-best-practices).
133+
127134
Most of this repo mirrors the structure of
128135
(the canonical GraphQL implementation written in Javascript/Typescript)[https://github.com/graphql/graphql-js]. If there is any feature
129136
missing, looking at the original code and "translating" it to Swift works, most of the time. For example:

SECURITY.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
Use this section to tell people about which versions of your project are
6+
currently being supported with security updates.
7+
8+
| Version | Supported |
9+
| ------- | ------------------ |
10+
| < 2.0.0 | :x: |
11+
| > 2.0.0 | :white_check_mark: |
12+
13+
## Reporting a Vulnerability
14+
15+
If you think you have found a security vulnerability, please create a new
16+
[security advisory in GitHub](https://github.com/GraphQLSwift/GraphQL/security/advisories).
17+
and email Jay Herron at NeedleInAJayStack at protonmail.com. We expect to respond within
18+
3 days to discuss the details of the security vulnerability.

0 commit comments

Comments
 (0)