From 6cf8f385e66ea63ce6f03551165ca99d8f3a8f7c Mon Sep 17 00:00:00 2001 From: cs-harsh-sharma Date: Mon, 11 Mar 2024 17:18:31 +0530 Subject: [PATCH] updated copyright comment, docs and release notes --- docs/FortinetFortimanagerJsonRpcConnectorDoc.md | 17 ++++++++--------- fortinet-fortimanager-json-rpc/connector.py | 11 ++++++----- .../generic_json_rpc.py | 11 ++++++----- fortinet-fortimanager-json-rpc/info.json | 2 +- fortinet-fortimanager-json-rpc/operations.py | 11 ++++++----- fortinet-fortimanager-json-rpc/release_notes.md | 7 +++++-- 6 files changed, 32 insertions(+), 27 deletions(-) diff --git a/docs/FortinetFortimanagerJsonRpcConnectorDoc.md b/docs/FortinetFortimanagerJsonRpcConnectorDoc.md index 92c51ae..98859c3 100644 --- a/docs/FortinetFortimanagerJsonRpcConnectorDoc.md +++ b/docs/FortinetFortimanagerJsonRpcConnectorDoc.md @@ -4,18 +4,18 @@ The Fortinet FortiManager JSON RPC Connector is an advanced connector with freef ### Version information -Connector Version: 1.0.2 +Connector Version: 1.0.3 Authored By: Fortinet CSE Certified: No - -## Release Notes for version 1.0.2 -Following enhancements have been made to the Fortinet FortiManager JSON RPC Connector in version 1.0.2: +## Release Notes for version 1.0.3 +Following enhancements have been made to the Fortinet FortiManager JSON RPC Connector in version 1.0.3: ## Installing the connector @@ -31,7 +31,6 @@ Following enhancements have been made to the Fortinet FortiManager JSON RPC Conn ## Configuring the connector For the procedure to configure a connector, click [here](https://docs.fortinet.com/document/fortisoar/0.0.0/configuring-a-connector/1/configuring-a-connector) - ### Configuration parameters

In FortiSOAR™, on the Connectors page, click the Fortinet FortiManager JSON RPC connector row (if you are in the Grid view on the Connectors page) and in the Configurations tab enter the required configuration details:

-
ParameterDescription
HostnameIP address or Hostname of the Fortinet FortiManager endpoint server to which you will connect and perform the automated operations. @@ -45,7 +44,7 @@ For the procedure to configure a connector, click [here](https://docs.fortinet.c
Verify SSLSpecifies whether the SSL certificate for the server is to be verified or not.
By default, this option is set to True.
Debug ConnectionOnly used with the json_rpc connections, and enables the debug. This can sometimes cause an I/O operation error since debugging involves printing responses, which writes to the integration.log file.
Verbose JSONSetting this to true adds a verbose flag to the request, so that the integers are translated to the string representation by Fortimanager. +
Verbose JSONSetting this to true adds a verbose flag to the request, so that the integers are translated to the string representation by FortiManager.
@@ -115,7 +114,7 @@ The following automated operations can be included in playbooks and you can also The output contains a non-dictionary value. ## Included playbooks -The `Sample - fortinet-fortimanager-json-rpc - 1.0.2` playbook collection comes bundled with the Fortinet FortiManager JSON RPC connector. These playbooks contain steps using which you can perform all supported actions. You can see bundled playbooks in the **Automation** > **Playbooks** section in FortiSOAR™ after importing the Fortinet FortiManager JSON RPC connector. +The `Sample - fortinet-fortimanager-json-rpc - 1.0.3` playbook collection comes bundled with the Fortinet FortiManager JSON RPC connector. These playbooks contain steps using which you can perform all supported actions. You can see bundled playbooks in the **Automation** > **Playbooks** section in FortiSOAR™ after importing the Fortinet FortiManager JSON RPC connector. - JSON RPC Add - JSON RPC Delete diff --git a/fortinet-fortimanager-json-rpc/connector.py b/fortinet-fortimanager-json-rpc/connector.py index 8f90ff2..de3c08f 100644 --- a/fortinet-fortimanager-json-rpc/connector.py +++ b/fortinet-fortimanager-json-rpc/connector.py @@ -1,8 +1,9 @@ -""" Copyright start - Copyright (C) 2008 - 2023 Fortinet Inc. - All rights reserved. - FORTINET CONFIDENTIAL & FORTINET PROPRIETARY SOURCE CODE - Copyright end """ +""" +Copyright start +MIT License +Copyright (c) 2024 Fortinet Inc +Copyright end +""" from connectors.core.connector import Connector, get_logger, ConnectorError from .operations import _check_health, operations diff --git a/fortinet-fortimanager-json-rpc/generic_json_rpc.py b/fortinet-fortimanager-json-rpc/generic_json_rpc.py index aa8d31e..525d782 100644 --- a/fortinet-fortimanager-json-rpc/generic_json_rpc.py +++ b/fortinet-fortimanager-json-rpc/generic_json_rpc.py @@ -1,8 +1,9 @@ -""" Copyright start - Copyright (C) 2008 - 2023 Fortinet Inc. - All rights reserved. - FORTINET CONFIDENTIAL & FORTINET PROPRIETARY SOURCE CODE - Copyright end """ +""" +Copyright start +MIT License +Copyright (c) 2024 Fortinet Inc +Copyright end +""" import json import re diff --git a/fortinet-fortimanager-json-rpc/info.json b/fortinet-fortimanager-json-rpc/info.json index 28fdcb5..c2c2b7b 100644 --- a/fortinet-fortimanager-json-rpc/info.json +++ b/fortinet-fortimanager-json-rpc/info.json @@ -7,7 +7,7 @@ "cs_approved": false, "cs_compatible": true, "category": "Centralized Security Management", - "help_online": "https://github.com/fortinet-fortisoar/connector-fortinet-fortimanager-json-rpc/blob/release/1.0.2/docs/FortinetFortimanagerJsonRpcConnectorDoc.md", + "help_online": "https://github.com/fortinet-fortisoar/connector-fortinet-fortimanager-json-rpc/blob/release/1.0.3/docs/FortinetFortimanagerJsonRpcConnectorDoc.md", "icon_small_name": "FortiManager_small.png", "icon_large_name": "FortiManager_medium.png", "configuration": { diff --git a/fortinet-fortimanager-json-rpc/operations.py b/fortinet-fortimanager-json-rpc/operations.py index 3cc23b9..5ba6b08 100644 --- a/fortinet-fortimanager-json-rpc/operations.py +++ b/fortinet-fortimanager-json-rpc/operations.py @@ -1,8 +1,9 @@ -""" Copyright start - Copyright (C) 2008 - 2023 Fortinet Inc. - All rights reserved. - FORTINET CONFIDENTIAL & FORTINET PROPRIETARY SOURCE CODE - Copyright end """ +""" +Copyright start +MIT License +Copyright (c) 2024 Fortinet Inc +Copyright end +""" from connectors.core.connector import get_logger, ConnectorError from .generic_json_rpc import perform_rpc_action diff --git a/fortinet-fortimanager-json-rpc/release_notes.md b/fortinet-fortimanager-json-rpc/release_notes.md index 05a6aa6..40f0eba 100644 --- a/fortinet-fortimanager-json-rpc/release_notes.md +++ b/fortinet-fortimanager-json-rpc/release_notes.md @@ -1,4 +1,7 @@ #### What's Improved -#### Release 1.0.2 -* Added support for FortiManager Cloud Authentication. +#### Release 1.0.3 + +* Implement support for auto locking of FortiManager Adoms if workspaces are enabled. + +* Made the "payload" parameter optional for the get action. \ No newline at end of file