
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Format lists of users by querying LDAP
Source | https://github.com/DiamondLightSource/dls-ldap-query |
---|---|
PyPI | pip install dls-ldap-query |
Docker | docker run ghcr.io/diamondlightsource/dls-ldap-query:latest |
Releases | https://github.com/DiamondLightSource/dls-ldap-query/releases |
The following command gives details of the command line parameters:
dls_ldap_query --help
This will be deployed as an environment module. But for the moment you can access it at DLS using this path:
/dls_sw/work/python3/dls-ldap-query --help
Get the email addresses of everyone in group dcs
dls-ldap-query --group dcs
Get the fedids of all the users in GitHub Members. (this requires access to the github-members GitLab repository)
dls-ldap-query --repo --output fedid
Get the fedids of all the users in Diamond Beamline Controls
Outlook distribution list.
New Email
in outlook and start typing the DL name, hit enter once the correct DL is highlighteddls-ldap-query --email --file /tmp/names.txt
# OR
dls-ldap-query --email '"Knap, Giles (DLSLtd,RAL,LSCI)" <giles.knap@diamond.ac.uk>; "Cob ... '
NOTE: you can paste the email members directly to the command line but you must enclose them in single quotes and remove any apostrophes in names! (which is why the file approach is easier)
FAQs
Format lists of users by querying LDAP
We found that dls-ldap-query demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.