Skip to content
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

Adjustments to Logging and a Python Error #191

Conversation

cameron-dunn-sublime
Copy link
Contributor

Describe the change
Include a summary of the change (with required dependencies), any issues it fixes, and relevant motivation and context.

Describe testing procedures
Describe the tests that you ran to verify your changes (including test configurations) and instructions so we can reproduce the tests. To assist in testing, the project maintainers may ask for file samples.

Sample output
If this change modifies Strelka's output, then please include a sample of the output here.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of and tested my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

cameron-dunn-sublime and others added 23 commits October 13, 2021 18:57
xref_length was erroring on the old version of PyMuPDF.

mupdf_display_errors errored with the new version, so it was removed.

Image extraction from PDFs is a new feature.
Fix PDF scanner + support image extraction
Return all ExifTool tags, aka ignore input
Does not publish 'latest'. Leaving that separate (I'll come to it later)
in order to promote immutable releases.
This allows simpler and more consistent distribution, and is
fully backwards compatible -- these files are all referenced
from the still required backend config, but the remaining
required configurations are all host addresses, timeouts,
sizes, etc.
* More adjustments to scanners
* Replace 'release-candidate' w/ semver

Forgot release candidate in one spot, and now I just
figure might as well check main semver instead of an
artificial tag.
* Add repo checkout to tag latest step
  * Otherwise it's missing for checking x-region replication
* Vendor all go commands together

Having a go.mod file per cmd was responsible depending on this
repo within the go.mod file. This prevents immediately consuming
changes in the api or pkg directories and generally seemed odd.

Import paths are still target/strelka instead of sublime-security/strelka
so a replace is used in go.mod. We could change this. It should matter
whether the repos local directory is in target or sublime-security.

* Adjust Dockerfile
* Only tag full version number

The docker files pull a lot of dependencies which make them
susceptable to transiently breaking. It'll be important that
we test images adequetly before "releasing". Since the major/minor
and major tags would update immediately this could cause a new
image to be consumed before any testing. If we need these tags
we should move them to the update latest workflow.

Of course we can also put more effort into making the build reliable,
but that's more involved.

* latest workflow update major & major.minor tags

These tags are what we use in docker compose and I think they make
enough sense to continue with, but I still do want to have the
chance to test any image before anything could auto upgrade.
@cameron-dunn-sublime cameron-dunn-sublime deleted the cd.logging-and-errors branch December 22, 2021 02:44
@cameron-dunn-sublime
Copy link
Contributor Author

I once again apologize -- I really wish I could default to merging to the fork

@cameron-dunn-sublime cameron-dunn-sublime restored the cd.logging-and-errors branch December 22, 2021 02:46
@cameron-dunn-sublime cameron-dunn-sublime deleted the cd.logging-and-errors branch January 3, 2022 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant