-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Contribution guidelines
- I've read the contribution guidelines and wholeheartedly agree
Description
Getting error message while creating a new environment
Expected behaviour
NA
Actual behaviour
NA
Steps to reproduce
- Install BeSman from Be-Secure namespace develop branch.
- Run bes create command
Relevant screenshots
Possible Solution
No response
Additional Information
$ bes create -env test-RT-env -V 0.0.1 basic
Variable 'BESMAN_LOCAL_ENV' value updated to 'true'
File exists with the same name under /home/arunsuresh/o31e/besecure-ce-env-repo/test/0.0.1/besman-test-RT-env.sh
Do you wish to overwrite (y/n)?: y
Creating env file..
Config file besman-test-RT-env-config.yaml exists under /home/arunsuresh/o31e/besecure-ce-env-repo/test/0.0.1
Do you wish to replace?(y/n): y
Creating new config file /home/arunsuresh/o31e/besecure-ce-env-repo/test/0.0.1/besman-test-RT-env-config.yaml
Updating metadata...
Enter the author details
Enter author name:o31e
Enter author type(Lab/User/Organization):Lab
https://raw.githubusercontent.com/asa1997/besecure-playbooks-store/naming/playbook-metadata.json
Traceback (most recent call last):
File "/home/arunsuresh/.besman/scripts/besman-get-playbook-details.py", line 148, in <module>
get_master_list()
File "/home/arunsuresh/.besman/scripts/besman-get-playbook-details.py", line 15, in get_master_list
save_playbook_details_to_file(data['playbooks'])
File "/home/arunsuresh/.besman/scripts/besman-get-playbook-details.py", line 90, in save_playbook_details_to_file
details = f"{playbook['name']} {playbook['intent']} {playbook['version']} {playbook['type']} {playbook['author']['name']} {playbook['description']}\n"
KeyError: 'intent'
Error while fetching playbook detailsMetadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
