Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align credentials stores- part 3 #27023

Merged
merged 16 commits into from
May 31, 2023
Merged
2 changes: 1 addition & 1 deletion Packs/BeyondTrust_Password_Safe/.pack-ignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[file:BeyondTrust_Password_Safe.yml]
ignore=BA108,BA109,IN145,BA124,BA109,IN145,BA124
ignore=BA108,BA109,BA124,BA109,BA124

[known_words]
beyondtrust
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

USERNAME = demisto.params().get('credentials', {}).get('identifier')
PASSWORD = demisto.params().get('credentials', {}).get('password')
API_KEY = demisto.params().get('key')
API_KEY = demisto.params().get('key') or demisto.params().get('credentials_key', {}).get('password')
maimorag marked this conversation as resolved.
Show resolved Hide resolved
SYSTEM_NAME = demisto.params().get('system_name')
# Remove trailing slash to prevent wrong URL path to service
SERVER = demisto.params()['url'][:-1] \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ configuration:
name: key
required: true
type: 4
hidden: true
- name: credentials_key
required: false
type: 9
displaypassword: API Key
hiddenusername: true
- display: Trust any certificate (not secure)
name: insecure
required: false
Expand Down Expand Up @@ -281,7 +287,7 @@ script:
- 'false'
description: Updates the credentials for a Managed Account, optionally applying the change to the Managed System.
name: beyondtrust-change-credentials
dockerimage: demisto/python3:3.10.11.58677
dockerimage: demisto/python3:3.10.11.61265
isfetch: false
runonce: false
script: ''
Expand Down
6 changes: 6 additions & 0 deletions Packs/BeyondTrust_Password_Safe/ReleaseNotes/1_1_1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#### Integrations

##### BeyondTrust Password Safe
- Added the *API Key* integration parameters to support credentials fetching object.
- Updated the Docker image to: *demisto/python3:3.10.11.61265*.
2 changes: 1 addition & 1 deletion Packs/BeyondTrust_Password_Safe/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "BeyondTrust Password Safe",
"description": "Unified password and session management for seamless accountability and control over privileged accounts.",
"support": "xsoar",
"currentVersion": "1.1.0",
"currentVersion": "1.1.1",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
2 changes: 0 additions & 2 deletions Packs/GoogleKeyManagementService/.pack-ignore
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
[file:GoogleKeyManagementService.yml]
ignore=IN145
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(self, params: Dict[str, Any]):
self.project = params.get('project')
self.location = params.get('location')
self.key_ring = params.get('key_ring')
self.service_account = params.get('service_account')
self.service_account = params.get('service_account') or params.get('credentials_service_account', {}).get('password')

handle_proxy()
# Creates an API client for the KMS API.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ configuration:
name: service_account
required: true
type: 4
hidden: true
- displaypassword: User's Service Account JSON
name: credentials_service_account
required: false
hiddenusername: true
type: 9
- display: Project in Google Cloud KMS
name: project
required: true
Expand Down Expand Up @@ -1537,7 +1543,7 @@ script:
- contextPath: GoogleKMS.PublicKey.Algorithm
description: The algorithm used in the CryptoKey
type: String
dockerimage: demisto/google-kms:1.0.0.42736
dockerimage: demisto/google-kms:1.0.0.62005
isfetch: false
longRunning: false
longRunningPort: false
Expand Down
6 changes: 6 additions & 0 deletions Packs/GoogleKeyManagementService/ReleaseNotes/1_0_18.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#### Integrations

##### Google Key Management Service
- Added the *User's Service Account JSON* integration parameters to support credentials fetching object.
- Updated the Docker image to: *demisto/google-kms:1.0.0.62005*.
2 changes: 1 addition & 1 deletion Packs/GoogleKeyManagementService/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Google Key Management Service",
"description": "Use the Google Key Management Service API for CryptoKey management and encrypt/decrypt functionality.",
"support": "xsoar",
"currentVersion": "1.0.17",
"currentVersion": "1.0.18",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
2 changes: 1 addition & 1 deletion Packs/MailListener_-_POP3/.pack-ignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[file:MailListener_POP3.yml]
ignore=IN110,IN109,BA108,BA109,IN126,IN145
ignore=IN110,IN109,BA108,BA109,IN126

[known_words]
MailListener
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
''' GLOBALS/PARAMS '''
SERVER = demisto.params().get('server', '')
EMAIL = demisto.params().get('email', '')
PASSWORD = demisto.params().get('password', '')
PASSWORD = demisto.params().get('password') or demisto.params().get('credentials_password', {}).get('password')
PORT = int(demisto.params().get('port', '995'))
SSL = demisto.params().get('ssl')
FETCH_TIME = demisto.params().get('fetch_time', '7 days')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ configuration:
name: password
required: true
type: 4
hidden: true
- displaypassword: Password
name: credentials_password
required: false
hiddenusername: true
type: 9
- defaultvalue: 'true'
display: Use SSL connection
name: ssl
Expand Down Expand Up @@ -47,7 +53,7 @@ script:
script: '-'
type: python
subtype: python3
dockerimage: demisto/python3:3.10.10.48392
dockerimage: demisto/python3:3.10.11.61265
beta: false
tests:
- MailListener-POP3 - Test
Expand Down
6 changes: 6 additions & 0 deletions Packs/MailListener_-_POP3/ReleaseNotes/2_0_3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#### Integrations

##### MailListener - POP3
- Added the *Password* integration parameters to support credentials fetching object.
- Updated the Docker image to: *demisto/python3:3.10.11.61265*.
2 changes: 1 addition & 1 deletion Packs/MailListener_-_POP3/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "MailListener - POP3",
"description": "Listen to a mailbox, enable incident triggering via e-mail",
"support": "xsoar",
"currentVersion": "2.0.2",
"currentVersion": "2.0.3",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down