You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added new lines and the end of .gitingnore and yaml.example. Fixed issues with README's. Added sorting information to action generate for the action list. All changes are per Nicks comments.
Copy file name to clipboardexpand all lines: README.md
+51-50
Original file line number
Diff line number
Diff line change
@@ -20,16 +20,17 @@ Data types and payloads also mirror one-for-one.
20
20
21
21
``` shell
22
22
st2 run algosec.afa_connect server=algosec.domain.tld username=administrator password=xxx
23
+
```
23
24
24
25
# <a name="Configuration"></a> Configuration
25
26
26
27
The configuration for this pack is used to specify connection information for
27
28
all AlgoSec servers you'll be communicating with. The location for the config file
28
-
is `/opt/stackstorm/config/algosec.yaml`.
29
+
is `/opt/stackstorm/configs/algosec.yaml`.
29
30
30
31
31
32
**Note** : `st2 pack config` doesn't handle schemas refernences very well (known bug)
32
-
so it's best to create the configuraiton file yourself and copy it into
33
+
so it's best to create the configuration file yourself and copy it into
33
34
`/opt/stackstorm/configs/algosec.yaml` then run `st2ctl reload --register-configs`
34
35
35
36
## <a name="Schema"></a> Schema
@@ -86,71 +87,71 @@ Actions in this pack are auto-generated from the AlgoSec SOAP API operations def
86
87
an action created for every "Command" in the AlgoSec API. Input and output
87
88
parameters should be the same with all action names and action parameters
88
89
convert from CamelCase to snake_case with a few expecptions. Example: SOAP command IsSessionAlive
89
-
will be converted to snake_case for the action to become `algosec.is_session_alive`.
90
+
will be converted to snake_case for the action to become `algosec.afa_is_session_alive`.
90
91
In this same command one of the arguments is `SessionID` that becomes the
91
92
`session_id`action parameter.
92
93
93
-
**Note**: that there are currently issues with the some of the AlgoSec AFA Actions not returning informaiton in the proper formats. Currently working with the vendor to fix.
94
+
**Note**: There are currently issues with the some of the AlgoSec AFA Actions not returning informaiton in the proper formats. Currently working with the vendor to fix.
94
95
95
96
| Reference of the Action | Description |
96
97
|-------------------------|-------------|
97
-
| algosec.fireflow_delete_object_custom_field | Invokes the AlgoSec SOAP command deleteObjectCustomField |
98
-
| algosec.fireflow_authenticate | Invokes the AlgoSec SOAP command authenticate |
99
-
| algosec.fireflow_create_ticket | Invokes the AlgoSec SOAP command createTicket |
100
-
| algosec.fireflow_get_template_fields | Invokes the AlgoSec SOAP command getTemplateFields |
101
-
| algosec.fireflow_get_ticket | Invokes the AlgoSec SOAP command getTicket |
102
-
| algosec.fireflow_is_session_alive | Invokes the AlgoSec SOAP command isSessionAlive |
103
-
| algosec.fireflow_get_fields | Invokes the AlgoSec SOAP command getFields |
104
-
| algosec.fireflow_add_object_custom_field | Invokes the AlgoSec SOAP command addObjectCustomField |
105
-
| algosec.fireflow_update_object_custom_field | Invokes the AlgoSec SOAP command updateObjectCustomField |
106
-
| algosec.afa_create_role | Invokes the AlgoSec SOAP command create_role |
98
+
| algosec.afa_add_device_to_group | Invokes the AlgoSec SOAP command add_device_to_group |
99
+
| algosec.afa_connect | Invokes the AlgoSec SOAP command connect |
100
+
| algosec.afa_create_device | Invokes the AlgoSec SOAP command create_device |
107
101
| algosec.afa_create_device_group | Invokes the AlgoSec SOAP command create_device_group |
108
-
| algosec.afa_delete_scheduler_job | Invokes the AlgoSec SOAP command delete_scheduler_job |
109
-
| algosec.afa_get_hostgroups_by_device | Invokes the AlgoSec SOAP command get_hostgroups_by_device |
110
-
| algosec.afa_get_unused_rules | Invokes the AlgoSec SOAP command get_unused_rules |
111
-
| algosec.afa_get_entity_id | Invokes the AlgoSec SOAP command get_entity_id |
112
-
| algosec.afa_import_risks_from_spreadsheet | Invokes the AlgoSec SOAP command import_risks_from_spreadsheet |
113
-
| algosec.afa_delete_user | Invokes the AlgoSec SOAP command delete_user |
114
-
| algosec.afa_get_all_hostgroups | Invokes the AlgoSec SOAP command get_all_hostgroups |
115
-
| algosec.afa_get_rule_documentation | Invokes the AlgoSec SOAP command get_rule_documentation |
102
+
| algosec.afa_create_domain | Invokes the AlgoSec SOAP command create_domain |
103
+
| algosec.afa_create_role | Invokes the AlgoSec SOAP command create_role |
116
104
| algosec.afa_create_user | Invokes the AlgoSec SOAP command create_user |
117
-
| algosec.afa_connect | Invokes the AlgoSec SOAP command connect |
118
-
| algosec.afa_query | Invokes the AlgoSec SOAP command query |
119
-
| algosec.afa_set_configuration | Invokes the AlgoSec SOAP command set_configuration |
120
-
| algosec.afa_set_scheduler_job | Invokes the AlgoSec SOAP command set_scheduler_job |
121
-
| algosec.afa_get_groups_list | Invokes the AlgoSec SOAP command get_groups_list |
122
-
| algosec.afa_disconnect | Invokes the AlgoSec SOAP command disconnect |
123
-
| algosec.afa_search_object_by_ip | Invokes the AlgoSec SOAP command search_object_by_ip |
124
-
| algosec.afa_get_configuration | Invokes the AlgoSec SOAP command get_configuration |
105
+
| algosec.afa_delete_device | Invokes the AlgoSec SOAP command delete_device |
125
106
| algosec.afa_delete_role | Invokes the AlgoSec SOAP command delete_role |
107
+
| algosec.afa_delete_scheduler_job | Invokes the AlgoSec SOAP command delete_scheduler_job |
108
+
| algosec.afa_delete_user | Invokes the AlgoSec SOAP command delete_user |
126
109
| algosec.afa_device_changes_over_time_report | Invokes the AlgoSec SOAP command device_changes_over_time_report |
127
-
| algosec.afa_get_members_by_device | Invokes the AlgoSec SOAP command get_members_by_device |
128
-
| algosec.afa_update_user | Invokes the AlgoSec SOAP command update_user |
110
+
| algosec.afa_disconnect | Invokes the AlgoSec SOAP command disconnect |
111
+
| algosec.afa_edit_rule_documentation | Invokes the AlgoSec SOAP command edit_rule_documentation |
112
+
| algosec.afa_get_all_hostgroups | Invokes the AlgoSec SOAP command get_all_hostgroups |
129
113
| algosec.afa_get_all_services | Invokes the AlgoSec SOAP command get_all_services |
130
-
| algosec.afa_get_report_pdf | Invokes the AlgoSec SOAP command get_report_pdf |
131
-
| algosec.afa_add_device_to_group | Invokes the AlgoSec SOAP command add_device_to_group |
114
+
| algosec.afa_get_configuration | Invokes the AlgoSec SOAP command get_configuration |
115
+
| algosec.afa_get_containing_objects | Invokes the AlgoSec SOAP command get_containing_objects |
116
+
| algosec.afa_get_device_statistics | Invokes the AlgoSec SOAP command get_device_statistics |
117
+
| algosec.afa_get_devices_list | Invokes the AlgoSec SOAP command get_devices_list |
118
+
| algosec.afa_get_entity_id | Invokes the AlgoSec SOAP command get_entity_id |
119
+
| algosec.afa_get_entity_name | Invokes the AlgoSec SOAP command get_entity_name |
132
120
| algosec.afa_get_group_content | Invokes the AlgoSec SOAP command get_group_content |
133
-
| algosec.afa_is_session_alive | Invokes the AlgoSec SOAP command is_session_alive |
121
+
| algosec.afa_get_groups_list | Invokes the AlgoSec SOAP command get_groups_list |
122
+
| algosec.afa_get_hostgroup_by_name_and_device | Invokes the AlgoSec SOAP command get_hostgroup_by_name_and_device |
123
+
| algosec.afa_get_hostgroups_by_device | Invokes the AlgoSec SOAP command get_hostgroups_by_device |
124
+
| algosec.afa_get_license | Invokes the AlgoSec SOAP command get_license |
125
+
| algosec.afa_get_members_by_device | Invokes the AlgoSec SOAP command get_members_by_device |
134
126
| algosec.afa_get_nat_discovery | Invokes the AlgoSec SOAP command get_nat_discovery |
127
+
| algosec.afa_get_parent_device | Invokes the AlgoSec SOAP command get_parent_device |
128
+
| algosec.afa_get_report_pdf | Invokes the AlgoSec SOAP command get_report_pdf |
129
+
| algosec.afa_get_rule_documentation | Invokes the AlgoSec SOAP command get_rule_documentation |
135
130
| algosec.afa_get_rules_by_device | Invokes the AlgoSec SOAP command get_rules_by_device |
131
+
| algosec.afa_get_service_by_name_and_device | Invokes the AlgoSec SOAP command get_service_by_name_and_device |
132
+
| algosec.afa_get_services_by_device | Invokes the AlgoSec SOAP command get_services_by_device |
133
+
| algosec.afa_get_unused_rules | Invokes the AlgoSec SOAP command get_unused_rules |
134
+
| algosec.afa_import_risks_from_spreadsheet | Invokes the AlgoSec SOAP command import_risks_from_spreadsheet |
136
135
| algosec.afa_import_risks_from_xml | Invokes the AlgoSec SOAP command import_risks_from_xml |
136
+
| algosec.afa_is_session_alive | Invokes the AlgoSec SOAP command is_session_alive |
137
+
| algosec.afa_query | Invokes the AlgoSec SOAP command query |
137
138
| algosec.afa_risks_summary | Invokes the AlgoSec SOAP command risks_summary |
138
-
| algosec.afa_get_containing_objects | Invokes the AlgoSec SOAP command get_containing_objects |
139
-
| algosec.afa_get_hostgroup_by_name_and_device | Invokes the AlgoSec SOAP command get_hostgroup_by_name_and_device |
140
-
| algosec.afa_create_domain | Invokes the AlgoSec SOAP command create_domain |
141
-
| algosec.afa_get_entity_name | Invokes the AlgoSec SOAP command get_entity_name |
142
-
| algosec.afa_create_device | Invokes the AlgoSec SOAP command create_device |
143
-
| algosec.afa_get_devices_list | Invokes the AlgoSec SOAP command get_devices_list |
144
-
| algosec.afa_get_services_by_device | Invokes the AlgoSec SOAP command get_services_by_device |
145
-
| algosec.afa_get_parent_device | Invokes the AlgoSec SOAP command get_parent_device |
146
-
| algosec.afa_delete_device | Invokes the AlgoSec SOAP command delete_device |
139
+
| algosec.afa_search_object_by_ip | Invokes the AlgoSec SOAP command search_object_by_ip |
140
+
| algosec.afa_search_rule | Invokes the AlgoSec SOAP command search_rule |
141
+
| algosec.afa_set_configuration | Invokes the AlgoSec SOAP command set_configuration |
142
+
| algosec.afa_set_scheduler_job | Invokes the AlgoSec SOAP command set_scheduler_job |
147
143
| algosec.afa_start_analysis | Invokes the AlgoSec SOAP command start_analysis |
148
-
| algosec.afa_get_device_statistics | Invokes the AlgoSec SOAP command get_device_statistics |
149
144
| algosec.afa_update_role | Invokes the AlgoSec SOAP command update_role |
150
-
| algosec.afa_edit_rule_documentation | Invokes the AlgoSec SOAP command edit_rule_documentation |
151
-
| algosec.afa_get_license | Invokes the AlgoSec SOAP command get_license |
152
-
| algosec.afa_search_rule | Invokes the AlgoSec SOAP command search_rule |
153
-
| algosec.afa_get_service_by_name_and_device | Invokes the AlgoSec SOAP command get_service_by_name_and_device |
145
+
| algosec.afa_update_user | Invokes the AlgoSec SOAP command update_user |
146
+
| algosec.fireflow_add_object_custom_field | Invokes the AlgoSec SOAP command addObjectCustomField |
147
+
| algosec.fireflow_authenticate | Invokes the AlgoSec SOAP command authenticate |
148
+
| algosec.fireflow_create_ticket | Invokes the AlgoSec SOAP command createTicket |
149
+
| algosec.fireflow_delete_object_custom_field | Invokes the AlgoSec SOAP command deleteObjectCustomField |
150
+
| algosec.fireflow_get_fields | Invokes the AlgoSec SOAP command getFields |
151
+
| algosec.fireflow_get_template_fields | Invokes the AlgoSec SOAP command getTemplateFields |
152
+
| algosec.fireflow_get_ticket | Invokes the AlgoSec SOAP command getTicket |
153
+
| algosec.fireflow_is_session_alive | Invokes the AlgoSec SOAP command isSessionAlive |
154
+
| algosec.fireflow_update_object_custom_field | Invokes the AlgoSec SOAP command updateObjectCustomField |
154
155
155
156
## <a name="UsageBasic"></a> Usage - Basic
156
157
@@ -182,7 +183,7 @@ over/over can become tedious and repetitive, luckyily there is a better way.
Copy file name to clipboardexpand all lines: etc/action_information.md.j2
+3-1
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,12 @@ Actions in this pack are auto-generated from the AlgoSec SOAP API operations def
5
5
an action created for every "Command" in the AlgoSec API. Input and output
6
6
parameters should be the same with all action names and action parameters
7
7
convert from CamelCase to snake_case with a few expecptions. Example: SOAP command IsSessionAlive
8
-
will be converted to snake_case for the action to become `algosec.is_session_alive`.
8
+
will be converted to snake_case for the action to become `algosec.afa_is_session_alive`.
9
9
In this same command one of the arguments is `SessionID` that becomes the
10
10
`session_id` action parameter.
11
11
12
+
**Note**: There are currently issues with the some of the AlgoSec AFA Actions not returning informaiton in the proper formats. Currently working with the vendor to fix.
0 commit comments