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

Feature/ast 11602 cli add ssh key scan create #387

Merged
merged 30 commits into from
Apr 28, 2022

Conversation

hmmachadocx
Copy link
Contributor

  • Added -ssh-key flag to scan create
  • Added unit tests and integration tests
  • Code refactoring

- Added --ssh-key flag to scan create
- Added unit tests and integration tests
- Code refactoring
- Added missing private key in integration tests
@hmmachadocx hmmachadocx requested review from a team, diogopcx and tiagobcx and removed request for a team April 12, 2022 13:40
- Added --ssh-key flag to scan create
- Added unit tests and integration tests
- Code refactoring
- Added missing private key in integration tests
@ghost ghost force-pushed the feature/AST-11602_CLI_add_ssh_key_scan_create branch from b28d35f to 4be4f14 Compare April 12, 2022 17:01
- Added debug flag to check error in cicd
- Fixed ssh test to create temp file to read ssh key
- Remove helping printed messages
- Add --ssh-key flag to project create and update project configuration with the ssh-key after project create

- Unit tests and integration tests added
Copy link
Contributor

@diogopcx diogopcx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are the ssh keys added as files still needed?

test/integration/scan_test.go Outdated Show resolved Hide resolved
- Removed private keys from project;
- defer remove file
hmmachadocx and others added 3 commits April 19, 2022 15:01
- added repository url to create project command;
- added unit tests and integration tests for project creation with ssh key
…ture/AST-11603_CLI_add_ssh_key_project_create

# Conflicts:
#	test/integration/scan_test.go
# Conflicts:
#	internal/commands/scan.go
#	internal/commands/scan_test.go
#	internal/params/flags.go
#	test/integration/scan_test.go
- Clarify it is a private key required
@hmmachadocx hmmachadocx merged commit 0077efe into main Apr 28, 2022
@diogopcx diogopcx deleted the feature/AST-11602_CLI_add_ssh_key_scan_create branch April 28, 2022 15:05
thtri pushed a commit to thtri/ast-cli that referenced this pull request Apr 19, 2024
* AST-11602 - CLI | Add SSH key to scan create command

- Added --ssh-key flag to scan create
- Added unit tests and integration tests
- Code refactoring

* AST-11602 - CLI | Add SSH key to scan create command

- Added missing private key in integration tests

* AST-11602 - CLI | Add SSH key to scan create command

- Fixed unit tests

* AST-11602 - CLI | Add SSH key to scan create command

- Added --ssh-key flag to scan create
- Added unit tests and integration tests
- Code refactoring

* AST-11602 - CLI | Add SSH key to scan create command

- Added missing private key in integration tests

* AST-11602 - CLI | Add SSH key to scan create command

- Fixed unit tests

* AST-11602 - CLI | Add SSH key to scan create command

- Fixed unit tests and lint

* AST-11602 - CLI | Add SSH key to scan create command

- Fixed unit tests

* AST-11602 - CLI | Add SSH key to scan create command

- Added debug flag to check error in cicd

* AST-11602 - CLI | Add SSH key to scan create command

- print error cicd

* AST-11602 - CLI | Add SSH key to scan create command

- Fixed ssh test to create temp file to read ssh key

* AST-11602 - CLI | Add SSH key to scan create command

- Fix cicd integration tests

* AST-11602 - CLI | Add SSH key to scan create command

- Remove helping printed messages

* AST-11603 - CLI | Add SSH key to project create command

- Add --ssh-key flag to project create and update project configuration with the ssh-key after project create

- Unit tests and integration tests added

* AST-11603 - CLI | Add SSH key to project create command

- Fixed lint errors

* AST-11621 - CLI | Handle file filters when source is zip file

- Added logs to check tests in CICD

* AST-11621 - CLI | Handle file filters when source is zip file

- Added logs to check tests in CICD

* AST-11602 - CLI | Add SSH key to scan create command

- Removed private keys from project;
- defer remove file

* AST-11603 - CLI | Add SSH key to project create command

- added repository url to create project command;

* AST-11603 - CLI | Add SSH key to project create command

- added unit tests and integration tests for project creation with ssh key

* AST-11603 - CLI | Add SSH key to project create command

- Fix lint errors

* AST-11603 - CLI | Add SSH key to project create command

- Fix lint errors

* AST-11603 - CLI | Add SSH key to project create command

- Fix unit tests

* AST-11603 - CLI | Add SSH key to project create command

- Fixed integration tests

* AST-11603 - CLI | Add SSH key to project create command

- Clarify it is a private key required
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.

2 participants