Jaime

SonicWall Employee
Avatar

Join the Conversation

To sign in, use your existing MySonicWall account. To create a free MySonicWall account click "Register".

Jaime SonicWall Employee

Badges (13)

4 Year Anniversary3 Year Anniversary2 Year Anniversary5 Helpfuls5 Answers10 Comments1 Year AnniversaryName Dropper5 LikesFirst AnswerFirst CommentEarly AdopterPhotogenic

Comments

  • Hi @AdamTheManTyler, Please refer to my latest comment the original discussion. Thanks.
  • Sorry for the delay. I see the issue now. The JSON includes the name of the group you are editing, but "name" isn't a valid command within the CLI level you are in for editing that IPv6 address group (because this object's name cannot be changed). With other objects, the "name" command is available so you won't see the…
  • Hi @AdamTheManTyler, Regarding the Swagger API documentation site, you can reach the Gen6 API documentation site from your Gen6 firewall's UI by clicking the link on System / API (MANAGE, then on the left pane click the API page at the very bottom). Alternatively, you can click here:…
  • Hi @Overflow2021, There are some differences between Gen6 and Gen7 in both the API and the CLI, so writing a single set of instructions for all firewalls may not be 100% possible without some additional logic to account for those situations. Some CLI commands are different between Gen6/Gen7, and many API endpoints…
  • Excellent! Thanks so much for the feedback.
  • Hello @jayb, Another user recently posted a question on this topic. Please take a look at the following thread: https://community.sonicwall.com/technology-and-support/discussion/4740/is-there-a-best-method-to-identify-which-objects-are-default-vs-custom-using-the-api
  • Hi @hbonath, I've done a lot of research and have come up empty. I think this should be submitted as an Enhancement Request as I haven't found a way to filter those objects via the API endpoints. There is one alternative API endpoint you can use... /direct/cli. You can essentially post the show command you want and get the…
  • Hi @G_Hosa_Phat, I'm still working through this one. Engineering confirmed that Gen6 supports FTP/SCP import, but does not support direct API import. Gen7 does, but Gen6 does not. The Swagger API docs for Gen6 need to be updated. I'm working with the team to update the docs. Thanks!
  • I spent some time reviewing my old code and testing against Gen6. After beating my head against my desk and staring at my code for a while, I tried to compare it against a Gen7. The Gen7 worked. I'll keep trying with Gen6, but I suspect there's a problem with the endpoint.
  • Thanks for the great posts. I'm sure these will be really helpful to future readers. I hope to see your project on Github one day 😎.
  • I'm happy that I was able to help. Thanks for confirming the character limit. That's helpful. I suspect that's changed in Gen7 given the character limit was lifted from the GUI. The E_ERROR "Not allowed in current mode" tells me that you possibly were preempted, and are now in non-config mode. Interesting that the JSON…
  • Hi @G_Hosa_Phat, Send a PUT to /administration/global with the following JSON: { "administration": { "web_management": { "certificate": { "name": "MY_CERT_FRIENDLY_NAME" } } } } Send a POST to /config/pending to commit. I just tried it out and it successfully changed the management certificate selection. Just FYI, I'm…
  • Hi @G_Hosa_Phat, I just got through reading your comments. I believe the issue you're facing now is an issue that was reported to Engineering and was fixed but is not available in a posted firmware release. If you can create a support case and message me the case number, I can make sure you get the hotfix. About your side…
  • I also tested on SonicOSX 7.0.1-5050, and I'm not able to reproduce E_EXISTS when adding members to address groups using PATCH. I sent single membership additions, multiple memberships in the same group, and sent the current members plus a new member. In each instance, it worked without an error. I do receive E_ERROR if I…
  • What method are you using in your request? What is the endpoint you are sending the request to? What firmware release are you running (7.0.1-5050, 5030, etc.)? Any additional detail about the request could be helpful. I've tested modifying memberships on 6.5.4.9 and 7.0.1-5050. In both versions, I am able to send and…