forked from elastic/fleet-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add initial automation rules based on the rules from the beats
repository.
- Loading branch information
Showing
12 changed files
with
281 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# CI Specific | ||
/.ci/ @elastic/observablt-robots | ||
/Jenkinsfile @elastic/observablt-robots |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Bug | ||
about: "Report confirmed bugs. For unconfirmed bugs please visit https://discuss.elastic.co/c/beats" | ||
|
||
--- | ||
|
||
Please post all questions and issues on https://discuss.elastic.co/c/beats | ||
before opening a Github Issue. Your questions will reach a wider audience there, | ||
and if we confirm that there is a bug, then you can open a new issue. | ||
|
||
For security vulnerabilities please only send reports to [email protected]. | ||
See https://www.elastic.co/community/security for more information. | ||
|
||
Please include configurations and logs if available. | ||
|
||
For confirmed bugs, please report: | ||
- Version: | ||
- Operating System: | ||
- Discuss Forum URL: | ||
- Steps to Reproduce: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Bug | ||
about: "Report confirmed bugs. For unconfirmed bugs please visit https://discuss.elastic.co/c/beats" | ||
|
||
--- | ||
|
||
Please post all questions and issues on https://discuss.elastic.co/c/beats | ||
before opening a Github Issue. Your questions will reach a wider audience there, | ||
and if we confirm that there is a bug, then you can open a new issue. | ||
|
||
For security vulnerabilities please only send reports to [email protected]. | ||
See https://www.elastic.co/community/security for more information. | ||
|
||
Please include configurations and logs if available. | ||
|
||
For confirmed bugs, please report: | ||
- Version: | ||
- Operating System: | ||
- Discuss Forum URL: | ||
- Steps to Reproduce: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
name: Enhancement request | ||
about: Beats can't do all the things, but maybe it can do your things. | ||
|
||
--- | ||
|
||
**Describe the enhancement:** | ||
|
||
**Describe a specific use case for the enhancement or feature:** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
name: Flaky Test | ||
about: Report a flaky test (one that doesn't pass consistently) | ||
labels: flaky-test | ||
--- | ||
|
||
## Flaky Test | ||
|
||
* **Test Name:** Name of the failing test. | ||
* **Link:** Link to file/line number in github. | ||
* **Branch:** Git branch the test was seen in. If a PR, the branch the PR was based off. | ||
* **Artifact Link:** If available, attach the generated zip artifact associated with the stack trace for this failure. | ||
* **Notes:** Additional details about the test. e.g. theory as to failure cause | ||
|
||
### Stack Trace | ||
|
||
``` | ||
paste stack trace here | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
name: Question | ||
about: Who, what, when, where, and how? | ||
|
||
--- | ||
|
||
Hey, stop right there! | ||
|
||
We use GitHub to track feature requests and bug reports. Please do not submit issues for questions about how to use features of Beat, how to set Beats up, best practices, or development related help. | ||
|
||
However, we do want to help! Head on over to our official Beats forums and ask | ||
your questions there. In additional to awesome, knowledgeable community | ||
contributors, core Beats developers are on the forums every single day to help | ||
you out. | ||
|
||
The forums are here: https://discuss.elastic.co/c/beats | ||
|
||
We can't stop you from opening an issue here, but it will likely linger without a response for days or weeks before it is closed and we ask you to join us on the forums instead. Save yourself the time, and ask on the forums today. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
<!-- Type of change | ||
Please label this PR with one of the following labels, depending on the scope of your change: | ||
- Bug | ||
- Enhancement | ||
- Breaking change | ||
- Deprecation | ||
- Cleanup | ||
- Docs | ||
--> | ||
|
||
## What does this PR do? | ||
|
||
<!-- Mandatory | ||
Explain here the changes you made on the PR. Please explain the WHAT: patterns used, algorithms implemented, design architecture, message processing, etc. | ||
--> | ||
|
||
## Why is it important? | ||
|
||
<!-- Mandatory | ||
Explain here the WHY, or the rationale/motivation for the changes. | ||
--> | ||
|
||
## Checklist | ||
|
||
<!-- Mandatory | ||
Add a checklist of things that are required to be reviewed in order to have the PR approved | ||
List here all the items you have verified BEFORE sending this PR. Please DO NOT remove any item, striking through those that do not apply. (Just in case, strikethrough uses two tildes. ~~Scratch this.~~) | ||
--> | ||
|
||
- [ ] My code follows the style guidelines of this project | ||
- [ ] I have commented my code, particularly in hard-to-understand areas | ||
- [ ] I have made corresponding changes to the documentation | ||
- [ ] I have made corresponding change to the default configuration files | ||
- [ ] I have added tests that prove my fix is effective or that my feature works | ||
- [ ] I have added an entry in `CHANGELOG.next.asciidoc` or `CHANGELOG-developer.next.asciidoc`. | ||
|
||
## Author's Checklist | ||
|
||
<!-- Recommended | ||
Add a checklist of things that are required to be reviewed in order to have the PR approved | ||
--> | ||
- [ ] | ||
|
||
## How to test this PR locally | ||
|
||
<!-- Recommended | ||
Explain here how this PR will be tested by the reviewer: commands, dependencies, steps, etc. | ||
--> | ||
|
||
## Related issues | ||
|
||
<!-- Recommended | ||
Link related issues below. Insert the issue link or reference after the word "Closes" if merging this should automatically close it. | ||
- Closes #123 | ||
- Relates #123 | ||
- Requires #123 | ||
- Superseds #123 | ||
--> | ||
- | ||
|
||
## Use cases | ||
|
||
<!-- Recommended | ||
Explain here the different behaviors that this PR introduces or modifies in this project, user roles, environment configuration, etc. | ||
If you are familiar with Gherkin test scenarios, we recommend its usage: https://cucumber.io/docs/gherkin/reference/ | ||
--> | ||
|
||
## Screenshots | ||
|
||
<!-- Optional | ||
Add here screenshots about how the project will be changed after the PR is applied. They could be related to web pages, terminal, etc, or any other image you consider important to be shared with the team. | ||
--> | ||
|
||
## Logs | ||
|
||
<!-- Recommended | ||
Paste here output logs discovered while creating this PR, such as stack traces or integration logs, or any other output you consider important to be shared with the team. | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
issues: | ||
- label: needs_team | ||
comment: | | ||
This issue doesn't have a `Team:<team>` label. | ||
- label: request-discuss | ||
comment: | | ||
Thank you very much for creating this issue. However, we would kindly like to ask you to post all questions and issues on the [Discuss forum](https://discuss.elastic.co/c/beats) first. In addition to awesome, knowledgeable community contributors, core Beats developers are on the forums every single day to help you out as well. So, your questions will reach a wider audience there, and if we confirm that there is a bug, then you can reopen this issue with the new information or open a new one. | ||
pulls: | ||
- label: needs_team | ||
comment: | | ||
This pull request doesn't have a `Team:<team>` label. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
pulls: | ||
opened: | ||
add: | ||
- needs_team |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
- "Team:Automation": | ||
- ".ci/**/*.*" | ||
- "Jenkinsfile" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
issues: | ||
- missingLabel: needs_team | ||
regex: Team:.+ | ||
pulls: | ||
- missingLabel: needs_team | ||
regex: Team:.+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# Configuration for probot-stale - https://github.com/probot/stale | ||
|
||
# Number of days of inactivity before an Issue or Pull Request becomes stale | ||
daysUntilStale: 335 | ||
|
||
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed. | ||
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. | ||
daysUntilClose: 30 | ||
|
||
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled) | ||
onlyLabels: [] | ||
|
||
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable | ||
exemptLabels: [] | ||
|
||
# Set to true to ignore issues in a project (defaults to false) | ||
exemptProjects: true | ||
|
||
# Set to true to ignore issues in a milestone (defaults to false) | ||
exemptMilestones: true | ||
|
||
# Set to true to ignore issues with an assignee (defaults to false) | ||
exemptAssignees: true | ||
|
||
# Label to use when marking as stale | ||
staleLabel: Stalled | ||
|
||
# Comment to post when marking as stale. Set to `false` to disable | ||
markComment: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. | ||
# Comment to post when removing the stale label. | ||
# unmarkComment: > | ||
# Your comment here. | ||
|
||
# Comment to post when closing a stale Issue or Pull Request. | ||
# closeComment: > | ||
# Your comment here. | ||
|
||
# Limit the number of actions per hour, from 1-30. Default is 30 | ||
limitPerRun: 30 | ||
|
||
# Limit to only `issues` or `pulls` | ||
# only: issues | ||
|
||
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls': | ||
pulls: | ||
daysUntilStale: 30 | ||
daysUntilClose: 30 | ||
markComment: > | ||
Hi! | ||
We just realized that we haven't looked into this PR in a while. We're | ||
sorry! | ||
We're labeling this issue as `Stale` to make it hit our filters and | ||
make sure we get back to it in as soon as possible. In the meantime, it'd | ||
be extremely helpful if you could take a look at it as well and confirm its | ||
relevance. A simple comment with a nice emoji will be enough `:+1`. | ||
Thank you for your contribution! | ||
closeComment: > | ||
Hi! | ||
This PR has been stale for a while and we're going to close it as part of | ||
our cleanup procedure. | ||
We appreciate your contribution and would like to apologize if we have not | ||
been able to review it, due to the current heavy load of the team. | ||
Feel free to re-open this PR if you think it should stay open and is worth rebasing. | ||
Thank you for your contribution! | ||
# issues: | ||
# exemptLabels: | ||
# - confirmed |