Netskope Community
01-17-2023 10:50 AM
Hello,
New to Netskope. I was able to find the v1 API documentation https://docs.netskope.com/en/netskope-platform-rest-apis.html as well as the v2 API documentation https://<tenant>.goskope.com/apidocs/?include_beta_routes=0
We're looking to utilize the versatility of the v2 permission based token. I didn't see the v1 API endpoints available in the v2 API documentation
Is there additional documentation that I'm missing? or is there a roadmap/timeline to when the v1 endpoints will be available in v2?
Thank you for your time and insight into this.
-Han Park
01-17-2023 01:32 PM
This has been one of my biggest challenges with Netskope. They started migrating to the v2 API over a year ago, yet there is still a large portion of the API that hasn't moved to v2 and there appears to be little movement that direction beyond the initial release.
The lack of movement to make everything available via v2 API makes any significant automation attempt a non-starter because the v1 API is fully unacceptable from a RBAC perspective.
01-17-2023 01:36 PM
We've turned down numerous third party deals, including even POC's of products that integrate with Netskope because of the API V1 requirement. It (API v1) is overly permissive and all data can be pulled from it. This puts a lot of focus on the integration vendor and in how they handle (and drop) data that isn't used. We can't even do POC's with it since we would likely want to cycle the API v1 secret after, but would then have to update all the other (trusted) sources we are integrated with.
01-25-2023 03:17 PM
@jpark124 Can you provide some use cases that you are looking to build with API V2 that you don't think you can do today?
There isn't a manage quarantine endpoint but an endpoint does exist in V2 (/api
@qyost V2 has continued to be improved by adding new capabilities that didn't exist in V1 and we will continue to add more to V2 this year so stay tuned. For example, these capabilities weren't possible in V1 or included in the original release of V2:
01-26-2023 05:51 AM - edited 01-26-2023 06:01 AM
@myee wrote:
Can you provide some use cases that you are looking to build with API V2 that you
don't think you can do today?
What would I love to do via API
In reality, I want to manage my entire tenant configuration as code.
Also, audit logs of changes made via API could use some significant refinement and enhancement.
01-26-2023 07:15 AM
Hello @myee Thank you for your reply and context.
We are currently utilizing the Netskope integration via API (v1) to:
1. Get Quarantine List ( /api/v1/quarantine?op=get-files ) which looks like the v2 equivalent you listed ( /api/v2/events/dataexport/alerts/quarantine ) should cover
2. Add to Quarantine List ( /api/v1/quarantine?action=block&quarantine_profile_id=&file_id=&op=take-action )
3. Update a File Hash List ( /api/v1/updateFileHashList?name=&list=file_hash )
4. Allow from Quarantine List ( /api/v1/quarantine?action=allow&quarantine_profile_id=&file_id=&op=take-action )
We're really looking to update the File Hash List by name to add any new file hash IOCs using the v2 API so that we can scope down the permissions per customer request.
I understand if this is not possible now. Please let me know if Update File Hash List is under consideration. Thank you for your assistance and insight with this.
01-26-2023 07:24 AM
@myee Thank you for your response.
We're looking to utilize a v2 version of Update a File Hash List (/api/v1/updateFileHashList?name=name&list=hash&token=v1_token) to update a Filter Filter Profile with a new/requested hash/ioc
v2 would allow us to scope/pare down the permission to just this ( and a few others including update quarantine list) calls.
02-02-2023 07:54 AM
06-09-2023 07:41 AM - edited 06-09-2023 07:41 AM
@myee : It's been a few months, any updates to share?
02-02-2023 08:06 AM
Yes, Please also include the Policies > Profiles > Custom Categories as a part of the feedback and discussions as well. Thank you!
In order to view this content, you will need to sign in to your account. Simply click the "Sign In" button below
Sign In