Skip to content

[Bug] Suspicious Remote Process Suspend Activity #13

[Bug] Suspicious Remote Process Suspend Activity

[Bug] Suspicious Remote Process Suspend Activity #13

on:
issues:
types: [opened]
name: Duplicate Open Issue to Internal Repo
jobs:
post_new_issue:
runs-on: ubuntu-latest
steps:
- name: Duplicate issue to internal behavior repo
uses: octokit/[email protected]
if: contains(github.event.issue.labels.*.name, 'behavior')
with:
route: POST /repos/{owner}/{repo}/issues
owner: elastic
repo: endpoint-rules
title: "${{ toJSON(format('{0} {1}', '[Openness Issue]', github.event.issue.title ))}}"
body: ${{toJSON(github.event.issue.body)}}
labels: ${{toJSON(github.event.issue.labels)}}
env:
GITHUB_TOKEN: ${{ secrets.PROTECTIONS_MACHINE_TOKEN }}
- name: Duplicate issue to internal yara repo
uses: octokit/[email protected]
if: contains(github.event.issue.labels.*.name, 'yara')
with:
route: POST /repos/{owner}/{repo}/issues
owner: elastic
repo: protections-yara-rules
title: "${{ toJSON(format('{0} {1}', '[Openness Issue]', github.event.issue.title ))}}"
body: ${{toJSON(github.event.issue.body)}}
labels: ${{toJSON(github.event.issue.labels)}}
env:
GITHUB_TOKEN: ${{ secrets.PROTECTIONS_MACHINE_TOKEN }}
- name: Duplicate issue to internal ransomware repo
uses: octokit/[email protected]
if: contains(github.event.issue.labels.*.name, 'ransomware')
with:
route: POST /repos/{owner}/{repo}/issues
owner: elastic
repo: protections-ransomware
title: "${{ toJSON(format('{0} {1}', '[Openness Issue]', github.event.issue.title ))}}"
body: "${{ toJSON(format('*Issue link*:\n{0}\n{1}', github.event.issue.html_url, github.event.issue.body ))}}"
labels: ${{toJSON(github.event.issue.labels)}}
env:
GITHUB_TOKEN: ${{ secrets.PROTECTIONS_MACHINE_TOKEN }}