-
Notifications
You must be signed in to change notification settings - Fork 15
Port scan test module #23
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
Merged
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
497c7a2
Add network orchestrator repository
jhughesoti b114adc
cleanup duplicate start and install scripts
jhughesoti d180446
Temporary fix for python dependencies
jhughesoti f5b7a64
Remove duplicate python requirements
jhughesoti eaba9bb
remove duplicate conf files
jhughesoti 80f7ca6
remove remote-net option
jhughesoti 1ba883c
cleanp unecessary files
jhughesoti 74c7e66
Add dns test module
jhughesoti 79c488c
Add mac address of device under test to test container
jhughesoti 793ce11
Update dns module tests
jhughesoti 2f75382
Change result output
jhughesoti cdcbf7c
logging update
jhughesoti a9496a4
Update test module for better reusability
jhughesoti 39c3340
Load in module config to test module
jhughesoti b37ef35
logging cleanup
jhughesoti 4a6b50c
Update baseline module to new template
jhughesoti ee68924
Add ability to disable individual tests
jhughesoti 4ecb1f5
remove duplicate readme
jhughesoti 8493416
Update device directories
jhughesoti 8c4b3a9
Remove local folder
jhughesoti 1f4dd9b
Update device template
jhughesoti 2dffb48
Change test module network config options
jhughesoti 590c247
Initial nmap test module add
jhughesoti 726d772
Update ipv4 device resolving in test modules
jhughesoti d6bfbf2
Map in ip subnets and remove hard coded references
jhughesoti 95e27b8
Add ftp port test
jhughesoti 2c48725
Add ability to pass config for individual tests within a module
jhughesoti 60de8b3
Add full module check for compliance
jhughesoti 0810cdb
Add all tcp port scans to config
jhughesoti 8217542
Update nmap commands to match existing DAQ tests
jhughesoti 1c44315
logging cleanup
jhughesoti 4f2c435
Update TCP port scanning range
jhughesoti 28114c6
Merge device config into module config
jhughesoti 0873ea6
Merge dev
jhughesoti 09a9239
fix merge issues
jhughesoti 8b28998
Update timeouts
jhughesoti 721179e
merge dev
jhughesoti 1090cb8
Fix merge issues
jhughesoti f5444bb
merge dev again
jhughesoti File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,14 @@ | ||
| """Track device object information.""" | ||
| from dataclasses import dataclass | ||
| from network_device import NetworkDevice | ||
|
|
||
|
|
||
| @dataclass | ||
| class Device(NetworkDevice): | ||
| """Represents a physical device and it's configuration.""" | ||
|
|
||
| make: str = None | ||
| model: str = None | ||
| test_modules: str = None | ||
| """Track device object information.""" | ||
|
|
||
| from network_device import NetworkDevice | ||
| from dataclasses import dataclass | ||
|
|
||
|
|
||
| @dataclass | ||
| class Device(NetworkDevice): | ||
| """Represents a physical device and it's configuration.""" | ||
|
|
||
| make: str = None | ||
| model: str = None | ||
| mac_addr: str | ||
| test_modules: str = None |
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.