
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
This is a simple Python wrapper for interacting with the Dynect Managed DNS REST API.
As it makes use of a JSON interface, one must either have the simplejson module installed, or have Python 2.6/2.7 which have a JSON library that comes with the language.
Use is fairly simple:
import sys from dynect.DynectDNS import DynectRest
rest_iface = DynectRest()
arguments = {
'customer_name': 'my_cust',
'user_name': 'my_user',
'password': 'my_pass',
}
response = rest_iface.execute('/Session/', 'POST', arguments)
if response['status'] != 'success': sys.exit("Incorrect credentials")
response = rest_iface.execute('/Zone/', 'GET') zone_resources = response['data']
rest_iface.execute('/Session/', 'DELETE')
Documentation on the REST resources can be found at https://manage.dynect.net/help/docs/api2/rest/resources/
FAQs
Dynect REST API wrapper
We found that DynectDNS demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.