-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/eng 5107 cleaning up #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
pieterge
wants to merge
58
commits into
FHPythonUtils:master
from
Keelvar:feature/ENG-5107_cleaning_up
Closed
Feature/eng 5107 cleaning up #5
pieterge
wants to merge
58
commits into
FHPythonUtils:master
from
Keelvar:feature/ENG-5107_cleaning_up
Conversation
This file contains hidden or 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
2. Added Trivy to the default list of scans in __init__.py 3. Made the safety scan more robust, so it can handle not finding the requirments.txt better.
2. Add path to runAllPlugins() __init__.py TODO: integrate parsable path to individual plugins.py
2. Add path to runAllPlugins() __init__.py TODO: integrate parsable path to individual plugins.py
2. Added Flake8-JSON library to get JSON output from Flake8
2. Resolved issues with how trivy returns scanning results. It does not always contain a title. Build a check that parses empty string when this is the case. 3. Added Levelmapping for Unkown severity issues for trivy. 4. Refactored concatenations of strings to integrated f-strings. 5. Resolved issue with scanning results. Format is different for secret scanning.
2. Refactored path handling to always use absolute path.
…ts enriching the summary json.
2. Cleaning up todo
…ingfull output from Black to annotate within a PR
2. Generated Sphinx Documentation 3. Migrated old documentation to new documentation
2. Updated the issues with the menu 3. Added settings for the RTD Sphinx theme for fixating the navigation 4. Added titles to the menu 5. Added Logo's to the theme 6. Cleaned up the Extensions of Sphinx 7. Debugged issues when renders by fixing docutils to a particular version. Some things that I have forgotten.
2. black reformat
Feature/eng 4069 modify defaults
added trivy installation
2. black reformat
1. tweaking dependencies and narrowing search path for performance.
# Conflicts: # .github/workflows/simplesecurity.yml
…ons of python, starting from 3.8
chore: pre-commit autoupdate
…ingfull output for the annotations within the PR. Updates pyproject.toml and poetry.lock accordingly.
…encies) 2. Updating Sphinx documentation to include new plugins (isort, mypy)
…t generic - Touched up the docstrings for the return statements as they were incorrect and inconsistent - Touched up the gitignore file as requested in review - changed reference of linenrs to line_nrs to improve readability. The original review mentioned level.py, but there was no mention of this variable, so I have replaced the mentions throughout the project.
- Renamed dlint to flake8 and removed the DUO options as these are no…
* testing annotations in the CI pipeline * testing annotations in the CI pipeline take2 * using flags properly * removing \ linebrakes * changing path to string and adding templating braces * Changing ENV variable GITHUB_REF * Cast scan_path to string * changing reference to path * try again with vanilla period * assertion issues, testing.. * syntax isues * syntax issues * testing more explicit dir as argparse is defaulting to None value * making a string of dir * using env variable * reproducing old example * does this work with everything on the same line? * does this work with everything on the same line? adjusting the configured version * Changing yaml to folded style to support linebraking * removing debug print out and adding findings object to annotation function call * Changing CI to be triggered only in pull request. Duplicated non-commenting version for pulls * clean up * removing whitespaces * Adding annotations function * referencing the findings dict * updating variables for annotations * updating annotations function * eliminating github_repository arg * updating arg for annotations * importing click into project * updating the flags in the pr workflow * Adding new flags to be used in workflow * removing spaces * adding check run * fixing repo url * adding a path to the annotations * Extaction info scan from findings and building annotations * Updating assertions * testing payload * Adding print statements for debug * commenting out the click stuff * typo! * debug print statements * debug print statements * debug print statements * debug print statements * debug print statements * creating array of annotations by wrapping it in a list * converting dict to json * converting dict to json * Adding print statements for debuggin * Matching dummy payload with github documentation * Matching dummy payload * Trying a different json * updating json * Adding headers to the dummy payload for testing * Adjusting dummy payload * Adjusting dummy payload * Changing the Accept value * Changin the format we patch a request * Adding print for debugging * Adding print for debugging * fixing run_id * fixing run_id * fixing dummy payload * fixing dummy payload * testing annotations with findings payload * printing patch request content * Converting absolute path into relative path * Creating a function to deal with paths * Fixing paths function * Fixing paths function * Fixing paths function * Fixing paths function * Testing payload * Testing scan payload * Testing scan payload * Testing scan payload * Testing scan payload * Testing scan payload * Testing scan payload * Testing scan payload * Testing scan payload * Testing scan payload * Testing scan payload * Testing scan payload * Testing scan payload * Testing scan payload * Testing scan payload * Testing scan payload * Testing scan payload * Testing scan payload * Cleaning code * Adding explanation comments * Fixing spaces * Modularizing GitHub Annotations. * Modularizing GitHub Annotations. * Modularizing GitHub Annotations. * Modularizing GitHub Annotations. * Modularizing GitHub Annotations. * Modularizing GitHub Annotations. * Improved logging * Improved logging * adding comments * Improved logging * Improved logging * Correctin post comment function * Correcting the post comment function * Improved logging * Improved logging * Improved logging * Improved logging * Improved logging * Improved logging * Improved logging * Improved logging * Sending dummy comment * changing patch request for post * using scan result to post comment * Parsing comment as string * pushing last changes --------- Co-authored-by: Pieter Geelen <pieter.geelen@keelvar.com>
- reformatting with black - configuring conf.py from sphinx to document private functions too - Regenerating rst files with autodoc
- Reformatted workflow to ensure that the _search_check_suite function gets all parameters before handling other consecutive steps. - Black - Added Assertions - Added requests types to pyproject.toml - removed other dependencies from pyproject.toml
Author
|
Sorry, this was by mistake. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Refactor and cleanup