Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Re write modules #12

Merged
merged 62 commits into from
May 20, 2021
Merged

Re write modules #12

merged 62 commits into from
May 20, 2021

Conversation

aaronkaplan
Copy link
Contributor

Description

See the CHANGELOG file

Related issue

#11 , #7 , #10 #9 , #2 , #5 .

Check list

  • Related issue / work item is attached
  • Unit-tests are written (if applicable)
  • Documentation is updated (if applicable)
  • Changes are tested, tests pass, no code linting errors and no high/critical vulnerabilities identified in codebase.

Testing

  • Did you write new unit tests for this change?
  • Did you write new integration tests for this change?
    Include the test commands you ran locally to test this change
    e.g.:
python -m pytest -vv --cov-branch --cov=./ --cov-report=term --color=yes tests/

Monitoring

n/a/

Rollout

n/a

aaronkaplan and others added 30 commits May 11, 2021 17:32
Missing stuff: write the results to the DB at the end.
…the GH actions would work out.

Signed-off-by: aaronkaplan <[email protected]>

Signed-off-by: aaronkaplan <[email protected]>
Signed-off-by: aaronkaplan <[email protected]>

Signed-off-by: aaronkaplan <[email protected]>
Signed-off-by: aaronkaplan <[email protected]>

Signed-off-by: aaronkaplan <[email protected]>
…racefully.

Signed-off-by: aaronkaplan <[email protected]>

Signed-off-by: aaronkaplan <[email protected]>
Signed-off-by: aaronkaplan <[email protected]>

Signed-off-by: aaronkaplan <[email protected]>
  - [X] delimiter gets automatically detected in spycloud
  - [X] make sure that if a row can't be enriched properly, that we set needs_human_intervention = True
  - [X] the enrichment pipeline works now
Signed-off-by: aaronkaplan <[email protected]>

Signed-off-by: aaronkaplan <[email protected]>
  * abuse_contact.py: AbuseContact.lookup() returns a List[str] now. Fixes #45.
  * [X] cleanup code in main.py: imports
  * fix a testcase for the spycloud collector
Signed-off-by: aaronkaplan <[email protected]>

Signed-off-by: aaronkaplan <[email protected]>
needs_human_intervention: bool. Fixes #51
clean up main.py
merge models/outdf.py and api/models.py. The latter becoming obsolete.
Signed-off-by: aaronkaplan <[email protected]>

Signed-off-by: aaronkaplan <[email protected]>
…ot need the notify or needs_human_attention fields every time. So make them optional

Signed-off-by: aaronkaplan <[email protected]>

Signed-off-by: aaronkaplan <[email protected]>
Signed-off-by: aaronkaplan <[email protected]>

Signed-off-by: aaronkaplan <[email protected]>
Signed-off-by: aaronkaplan <[email protected]>

Signed-off-by: aaronkaplan <[email protected]>
…ternalDataFormat, be ready to serve an empty dict but with an error message.

Signed-off-by: aaronkaplan <[email protected]>

Signed-off-by: aaronkaplan <[email protected]>
…ternalDataFormat, be ready to serve an empty dict but with an error message.

Signed-off-by: aaronkaplan <[email protected]>

Signed-off-by: aaronkaplan <[email protected]>
…alLeakDB into re-write-modules

� Conflicts:
�	modules/parsers/spycloud.py
implemented the store() function

Signed-off-by: aaronkaplan <[email protected]>
implemented the store() function

Signed-off-by: aaronkaplan <[email protected]>
… And finally, anonymize passwords in log files! damn it.

Signed-off-by: aaronkaplan <[email protected]>
Merge branch 'main' of github.com:EC-DIGIT-CSIRC/credentialLeakDB into re-write-modules
@aaronkaplan aaronkaplan merged commit 2b72913 into main May 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant