Skip to content

Commit bd4cb90

Browse files
authored
Merge pull request #10 from nanoapi-io/chore/license
Add content for CoC and security
2 parents e61ad4c + cac5ac9 commit bd4cb90

File tree

2 files changed

+99
-0
lines changed

2 files changed

+99
-0
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
## Code of Conduct
2+
3+
### Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, gender identity and expression, level of
9+
experience, nationality, personal appearance, race, religion, or sexual identity
10+
and orientation.
11+
12+
### Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
- Using welcoming and inclusive language
18+
- Being respectful of differing viewpoints and experiences
19+
- Gracefully accepting constructive criticism
20+
- Focusing on what is best for the community
21+
- Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
- The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
- Trolling, insulting/derogatory comments, and personal or political attacks
28+
- Public or private harassment
29+
- Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
- Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
- Other conduct which falls outside of
34+
[NanoAPI's Open-Source Manifesto](https://github.com/Nano-API/oss-manifesto/blob/main/README.md)
35+
36+
### Our Responsibilities
37+
38+
Project maintainers are responsible for clarifying the standards of acceptable
39+
behavior and are expected to take appropriate and fair corrective action in
40+
response to any instances of unacceptable behavior.
41+
42+
Project maintainers have the right and responsibility to remove, edit, or reject
43+
comments, commits, code, wiki edits, issues, and other contributions that are
44+
not aligned to this Code of Conduct, or to ban temporarily or permanently any
45+
contributor for other behaviors that they deem inappropriate, threatening,
46+
offensive, or harmful.
47+
48+
### Scope
49+
50+
This Code of Conduct applies both within project spaces and in public spaces
51+
when an individual is representing the project or its community. Examples of
52+
representing a project or community include using an official project e-mail
53+
address, posting via an official social media account, or acting as an appointed
54+
representative at an online or offline event. Representation of a project may be
55+
further defined and clarified by project maintainers.
56+
57+
### Enforcement
58+
59+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
60+
reported by contacting the project team at
61+
[[email protected]](mailto:[email protected]). All complaints will be reviewed and
62+
investigated and will result in a response that is deemed necessary and
63+
appropriate to the circumstances. The project team is obligated to maintain
64+
confidentiality with regard to the reporter of an incident. Further details of
65+
specific enforcement policies may be posted separately.
66+
67+
Project maintainers who do not follow or enforce the Code of Conduct in good
68+
faith may face temporary or permanent repercussions as determined by other
69+
members of the project's leadership.
70+
71+
### Attribution
72+
73+
This Code of Conduct is adapted from the
74+
[ncc CoC](https://github.com/vercel/ncc/blob/main/CODE_OF_CONDUCT.md) which is
75+
itself adapted from the [Contributor Covenant][homepage], version 1.4, available
76+
at [http://contributor-covenant.org/version/1/4][version]
77+
78+
[homepage]: http://contributor-covenant.org
79+
[version]: http://contributor-covenant.org/version/1/4/

.github/SECURITY.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Security Policy
2+
3+
Please report any suspected security vulnerabilities privately to
4+
[[email protected]](mailto:[email protected]). Please do NOT create publicly
5+
viewable issues for suspected security vulnerabilities.
6+
7+
We will acknowledge receipt of your vulnerability report as soon as possible and
8+
strive to send you regular updates about our progress. If you're curious about
9+
the status of your disclosure please feel free to email us again. If you want to
10+
encrypt your disclosure email please email us to ask for our PGP key.
11+
12+
Please refrain from requesting compensation for reporting vulnerabilities. If
13+
you want we will publicly acknowledge your responsible disclosure. We also try
14+
to make the issue public after the vulnerability is announced. Usually bug
15+
reports are made public after 72 hours, if possible.
16+
17+
You are not allowed to search for security vulnerabilities on any hosted service
18+
of NanoAPI without the consent of the party hosting it. NanoAPI is open source
19+
software and can be installed for testing and security issues on your own
20+
infrastructure.

0 commit comments

Comments
 (0)