Skip to content

Commit

Permalink
Merge pull request #1 from algapster/development
Browse files Browse the repository at this point in the history
Clean
  • Loading branch information
algapster authored Apr 10, 2024
2 parents 7f3b321 + 3a0edb4 commit 4734d85
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/azure-functions-app-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ on:
env:
AZURE_FUNCTIONAPP_NAME: 'RSS-syphon' # set this to your function app name on Azure
AZURE_FUNCTIONAPP_NAME_DEV: 'RSS-syphon-dev' # set this to your function app name on Azure
AZURE_FUNCTIONAPP_NAME_PHARMA: 'RSS-syphon-Pharma' # set this to your function app name on Azure
AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your function app project, defaults to the repository root
PYTHON_VERSION: '3.11' # set this to the python version to use (e.g. '3.6', '3.7', '3.8')

Expand Down Expand Up @@ -75,3 +76,14 @@ jobs:
publish-profile: ${{ secrets.AZURE_FUNCTIONAPP_PUBLISH_PROFILE_DEV }} # Remove publish-profile to use Azure RBAC
scm-do-build-during-deployment: true
enable-oryx-build: true

- name: 'Run Azure Functions Action Pharma'
if: ${{ github.ref == 'refs/heads/syphon_pharma_prod' }}
uses: Azure/functions-action@v1
id: fa-pharma
with:
app-name: ${{ env.AZURE_FUNCTIONAPP_NAME_PHARMA }}
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
publish-profile: ${{ secrets.AZURE_FUNCTIONAPP_PUBLISH_PROFILE_PHARMA }} # Remove publish-profile to use Azure RBAC
scm-do-build-during-deployment: true
enable-oryx-build: true
5 changes: 0 additions & 5 deletions rss_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
{"name": "msrc.microsoft", "url": "https://msrc.microsoft.com/blog/feed"}
],
"cve": [
{"name": "cvefeed_high", "url": "https://cvefeed.io/rssfeed/severity/high.xml"},
{"name": "cvefeed", "url": "https://cvefeed.io/rssfeed/latest.xml"},
{"name": "tenable", "url": "https://www.tenable.com/cve/feeds?sort=newest"},
{"name": "esecurityplanet", "url": "https://www.esecurityplanet.com/feed/"},
{"name": "helpnetsecurity", "url": "https://www.helpnetsecurity.com/feed/"},
{"name": "secpod", "url": "https://www.secpod.com/blog/feed/"},
Expand Down Expand Up @@ -89,7 +86,6 @@
"apple",
"arin",
"aruba",
"autoptimize",
"aws",
"azure",
"beyond trust",
Expand All @@ -101,7 +97,6 @@
"cisco",
"code42",
"connectwise",
"crash plan",
"debian",
"defender",
"dell",
Expand Down

0 comments on commit 4734d85

Please sign in to comment.