In the responseHeaderswe have to find the following information X-auth-access-token and DOMAIN_UUID: Save these two info in a variable and you can proceed with the next API call. "action" : "rerender" "actions" : [ For objId, use the jobHistoryUuid "actions" : [ After you deploy the configuration on both devices, "context" : "envParam:selectedMessage", "showCountOnly" : "false", "event" : "deleteMessage", "parameters" : { "eventActions" : [ "showCountOnly" : "false", they are running the same new rules. If you do not specify a name, the system generates one for you. }, $('.cmp-header__search-toggle').each(function() { { "event" : "MessagesWidgetEditAction", manager on the Objects page), interface (all network interfaces, s2svpn (all site-to-site VPN related types), ravpn (all RA VPN related Import Deployment.. }, LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Searching for users","emptyText":"No Matches","successText":"Users found:","defaultText":"Enter a user name or rank","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_10f5b27fa45ea73', 'disableAutoComplete', '#ajaxfeedback_10f5b27f97c75be_0', 'LITHIUM:ajaxError', {}, 'YDptEaT-ZsS3_oDBP-Sur6OqL9GMMZDh9LovurrnX5s. "action" : "rerender" EDITYou are updating an object. "context" : "envParam:feedbackData", "event" : "addThreadUserEmailSubscription", LITHIUM.DropDownMenuVisibilityHandler({"selectors":{"menuSelector":"#actionMenuDropDown_3","menuItemsSelector":".lia-menu-dropdown-items"}}); If you specify true, then the encryptionKey attribute is ignored. All source IP addresses allowed 1. ] ","messageActionsSelector":"#messageActions_1","loaderSelector":"#loader","renderEvent":"LITHIUM:renderInlineMessageReply","expandedRepliesSelector":".lia-inline-message-reply-form-expanded","topicMessageSelector":".lia-forum-topic-message-gte-5","containerSelector":"#inlineMessageReplyContainer_1","layoutView":"threaded","replyButtonSelector":".lia-action-reply","messageActionsClass":"lia-message-actions","threadedMessageViewSelector":".lia-threaded-display-message-view-wrapper","lazyLoadScriptsEvent":"LITHIUM:lazyLoadScripts","isGteForumV5":true,"loaderEnabled":false,"useSimpleEditor":false,"isReplyButtonDisabled":false}); 2). "includeRepliesModerationState" : "true", { // { ', 'ajax');","content":"Turn off suggestions"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_10f5b27f97c75be_0","redirectToItemLink":false,"url":"https://community.meraki.com/t5/forums/v5/forumtopicpage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/security/message-id/14315/thread-id/14315&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); "event" : "MessagesWidgetCommentForm", should use a syslog server at a different address, 192.168.5.15. "eventActions" : [ Get a list of the configuration files on the disk. LITHIUM.SearchForm({"asSearchActionIdSelector":".lia-as-search-action-id","useAutoComplete":true,"selectSelector":".lia-search-form-granularity","useClearSearchButton":false,"buttonSelector":".lia-button-searchForm-action","asSearchActionIdParamName":"as-search-action-id","formSelector":"#lia-searchformV32_10f5b27f97c75be","nodesModel":{"tkb|tkb":{"title":"Knowledge base","inputSelector":".lia-search-input-tkb-article"},"security|forum-board":{"title":"Search Board: Security / SD-WAN","inputSelector":".lia-search-input-message"},"meraki|category":{"title":"Search Community: Security / SD-WAN","inputSelector":".lia-search-input-message"},"enterprise|category":{"title":"Search Category: Security / SD-WAN","inputSelector":".lia-search-input-message"},"user|user":{"title":"User Search","inputSelector":".lia-search-input-user"}},"asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_10f5b27f97c75be_0:not(.lia-js-hidden)","clearSearchButtonSelector":null}); "actions" : [ "context" : "envParam:feedbackData", Our token is valid only for 30 minute, after this period we need to refresh it via another API call. $search.removeClass('is--open'); Each item in this list has a pattern like "id=uuid-value", "type=object-type" or "name=object-name". "useSubjectIcons" : "true", You can even create your own configuration file from scratch, but you will need to export the configuration to understand The following example performs a full export to the file export-config-1 and accepts the defaults for all other attributes: For example, the curl command would look like the following: You should get a response code of 200. The "eventActions" : [ WordPad formats "event" : "removeMessageUserEmailSubscription", ] "action" : "rerender" If you are doing a full configuration import, the metadata object must specify the following attributes: hardwareModel, softwareVersion, } "}); "initiatorDataMatcher" : "data-lia-message-uid" { "event" : "ProductMessageEdit", // if the target of the click isn't the container and not a descendant of the container then hide the search "showCountOnly" : "false", }, ","messageActionsSelector":"#messageActions_2","loaderSelector":"#loader","renderEvent":"LITHIUM:renderInlineMessageReply","expandedRepliesSelector":".lia-inline-message-reply-form-expanded","topicMessageSelector":".lia-forum-topic-message-gte-5","containerSelector":"#inlineMessageReplyContainer_2","layoutView":"threaded","replyButtonSelector":".lia-action-reply","messageActionsClass":"lia-message-actions","threadedMessageViewSelector":".lia-threaded-display-message-view-wrapper","lazyLoadScriptsEvent":"LITHIUM:lazyLoadScripts","isGteForumV5":true,"loaderEnabled":false,"useSimpleEditor":false,"isReplyButtonDisabled":false}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderInlineMessageReply"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer","action":"renderInlineMessageReply","feedbackSelector":"#inlineMessageReplyContainer","url":"https://community.meraki.com/t5/forums/v5/forumtopicpage.inlinemessagereplycontainer:renderinlinemessagereply?t:ac=board-id/security/message-id/14315/thread-id/14315&t:cp=messages/contributions/messageeditorscontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"ZyB40kTp71kEeU3kYzXCgARK06onG_1zIAMxRPtuvAU. This category only includes cookies that ensures basic functionalities and security features of the website. "actions" : [ LITHIUM.Link({"linkSelector":"a.lia-link-ticket-post-action"}); csvExportFirepower This tool helps in taking CSV export of policies on firepower. ] Note that if you specify CREATE but the object already exists, if the name matches an existing object of the specified type, the action is automatically changed to EDIT. LITHIUM.Components.renderInPlace('recommendations.widget.recommended-content-taplet', {"componentParams":"{\n \"mode\" : \"slim\",\n \"componentId\" : \"recommendations.widget.recommended-content-taplet\"\n}","componentId":"recommendations.widget.recommended-content-taplet"}, {"errorMessage":"An Unexpected Error has occurred. ', 'ajax'); "actions" : [ \\n\\t\\t\\t\\n\\t\\n\\n\\t\\n\\n\\t\\t\";LITHIUM.AjaxSupport.defaultAjaxErrorHtml = \", \\n\\t\\t\\t\\t\\n\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t, Cloud Monitoring for Catalyst - Early Availability Group, https://apps.meraki.io/details/vapp-firewall-config-backup/. $search.removeClass('is--open'); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_10","feedbackSelector":".InfoMessage"}); "initiatorDataMatcher" : "data-lia-kudos-id" }, "componentId" : "forums.widget.message-view", "disallowZeroCount" : "false", }, "entity" : "56153", Many thanks! ] Share. Following is the basic structure of an identity wrapper object: The object contains the following attributes: dataThis is the collection of attribute-value pairs that define the object from the configuration, such as a network object, { "useTruncatedSubject" : "true", { "event" : "MessagesWidgetEditAnswerForm", "kudosable" : "true", // just for inline syntax-highlighting } PARTIAL_EXPORTInclude only those objects, and their descendant objects, that are identified in the entityIds list. { But opting out of some of these cookies may have an effect on your browsing experience. { ] If you are editing the rule, the system will retain the rules existing position. // console.log('Header search input', e.keyCode); } "event" : "removeThreadUserEmailSubscription", In the device The name has a maximum length of 60 characters. { "eventActions" : [ "actions" : [ ] }, }, ","loaderSelector":"#threadeddetaildisplaymessageviewwrapper_1 .lia-message-body-loader .lia-loader","expandedRepliesSelector":".lia-inline-message-reply-form-expanded"}); If the import fails, you might need to edit the file "context" : "", Whether to keep the copy of the configuration file imported on the threat "action" : "rerender" { }, "actions" : [ Are you sure you want to proceed? .PARAMETER Name. }, "action" : "rerender" ] } This method does not work with a device managed by the Secure Firewall Management Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. The DELETE action is not changed. { 12:46 AM }); "action" : "rerender" LITHIUM.AjaxSupport.ComponentEvents.set({ }, "context" : "", "selector" : "#kudosButtonV2_2", To export all the rules contained in an Access Control Policy you should use a couple of for cycle in your Python script: one for the number of rules contained in an Access Control Policy and another one nested for each rules to display the details of the single rule. "initiatorDataMatcher" : "data-lia-kudos-id" ] of the object in the policy. }, "action" : "rerender" } Configuration import/export is not the same as backup/restore. } "event" : "RevokeSolutionAction", 2018-06-13 09:28 PM. defense REST API v4 or higher. defense device locally, with the device configuration from a device of the desired model. LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lazyLoadComponent","parameters":{"componentId":"messages.widget.emoticons-lazy-load-runner"}},"tokenId":"ajax","elementSelector":"#inlinemessagereplyeditor_0","action":"lazyLoadComponent","feedbackSelector":false,"url":"https://community.meraki.com/t5/forums/v5/forumtopicpage.threadeddetaildisplay.inlinemessagereplyeditor_0:lazyloadcomponent?t:ac=board-id/security/message-id/14315/thread-id/14315","ajaxErrorEventName":"LITHIUM:ajaxError","token":"F8Llpt_8_5RGYBLsuOUNR6fuN98q3p1FFWAPfWxHb7U. For example, you can use configuration import/export { }, {