[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16404167#comment-16404167
 ] 

ASF GitHub Bot commented on CLOUDSTACK-10329:
---------------------------------------------

nitin-maharana commented on a change in pull request #2494: [CLOUDSTACK-10329] 
Button in ACL rules page to export all rules as a CSV file
URL: https://github.com/apache/cloudstack/pull/2494#discussion_r175302465
 
 

 ##########
 File path: ui/scripts/vpc.js
 ##########
 @@ -15,6 +15,53 @@
 // specific language governing permissions and limitations
 // under the License.
 (function($, cloudStack) {
+    var isNumeric = function (n) {
+        return !isNaN(parseFloat(n));
+    };
+    var createSafeCsvValue = function(value){
+        if(value){
+            return '"' + value + '"';
 
 Review comment:
   Hi @rafaelweingartner, Thanks for adding this functionality.
   Here, Will the input look like this: ("a","b","c"...) or (a,b,c...). The 
variable csv in generateCsvForAclRules function converts to string when it is 
initialized (concatenated with a comma string).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Button in ACL rules page to export all rules as a CSV file 
> -----------------------------------------------------------
>
>                 Key: CLOUDSTACK-10329
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10329
>             Project: CloudStack
>          Issue Type: New Feature
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>            Reporter: Rafael Weingärtner
>            Assignee: Rafael Weingärtner
>            Priority: Major
>             Fix For: 4.12
>
>
> It is interesting to create a button in the ACL rule listing page to export 
> all rules in a CSV file. This file can facilitate the auditing and reporting 
> of rules.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to