-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DEPLOY] v0.5.4 Update - Service Class updates (#215)
* Bump version -> 0.5.4 * Added create-lambda-layer.sh utility script * Added identity_protection _endpoint lists * Linting * Added initial IDP Service Class * Update README.md * Add util/README.md * Fixed typo * Update README.md * Fixed typo * Added package metadata - docs_url, keywords * Add classifiers * Refactor cloud_connect_aws.py. Closes #209. * Fixed OOO issue with body validation. Linting. * Refactored to the new pattern. Closes #210. * Initial unit test for IDP service class * Fixed periodic 500 flakiness with RegenerateAPIKey * Refactored ZTA to the new pattern. Closes #211. * Comment cleanup and linting. * Linting * Exclude coverage reports * Renamed linting.yml -> flake8.yml * Added pylint workflow * Add developer note * Refactored. Tested w SecHub integ. Closes #212. * Added pylint to the developer lint utility script * Update README.md * Update README.md * Added pylint to developer requirements * Update CONTRIBUTING.md - added pylint detail * Fixed typo * Comment cleanup and linting. * Refactored to the new pattern. Closes #213. * Refactored to the new pattern. Closes #214. * Update vulnerability query filter * Update wordlist.txt Co-authored-by: Shane Shellenbarger <[email protected]>
- Loading branch information
Showing
30 changed files
with
782 additions
and
386 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
File renamed without changes.
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,44 @@ | ||
name: Pylint | ||
on: | ||
push: | ||
paths: | ||
- '**.py' | ||
branches: | ||
- main | ||
- 'ver_*' | ||
pull_request: | ||
paths: | ||
- '**.py' | ||
branches: | ||
- main | ||
- 'ver_*' | ||
|
||
jobs: | ||
analyze: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install pylint | ||
pip install -r requirements.txt | ||
- name: Lint package source with pylint | ||
run: | | ||
# NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! | ||
# ----------------------------------------------------------------------------- | ||
# PYLINT WORKFLOWS WILL BEGIN STOPPING BUILDS AFTER THE | | ||
# LAST SERVICE CLASSES HAVE BEEN REFACTORED - 07.28.21 / jshcodes@CrowdStrike | | ||
# Review https://github.com/CrowdStrike/falconpy/projects/1 for more detail. | | ||
# ----------------------------------------------------------------------------- | ||
# | ||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | ||
pylint src/falconpy --max-line-length=127 --disable=R0801 --exit-zero | ||
- name: Lint samples with pylint | ||
run: | | ||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | ||
pylint samples --max-line-length=127 --disable=R0801 --exit-zero |
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 |
---|---|---|
|
@@ -13,4 +13,5 @@ dist | |
sensor_downloads/ | ||
__pycache__/ | ||
.env | ||
.coverage | ||
.coverage | ||
htmlcov/ |
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
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
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
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
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
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
Oops, something went wrong.