Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
@pyramid-embed/embed-react
Advanced tools
The wrapper for [@pyramid-embed/embed-js](https://www.npmjs.com/package/@pyramid-embed/embed-js)
Readme
The wrapper for @pyramid-embed/embed-js
yarn add @pyramid-embed/embed-react
npm i @pyramid-embed/embed-react
Please check online help for the general documentation.
import { PyramidEmbedContainer } from '@pyramid-embed/embed-react';
<PyramidEmbedContainer host="http://pyramid:8181" options={embedOptions} />
host: string
- URL of the Pyramid instanceoptions: EmbedOptions
- embed optionsloginType?: "none" | "forms" | "windows" | "saml"
- authentication typeuserName?: string
- username, used when loginType="forms"
password?: string
- password, used when loginType="forms"
authToken?: string
- Pyramid authentication tokensamlToken?: string
- SAML tokenstyle?: object
- apply styles to the container elementclassName?: string
- apply a className to the container elementauthFailureCallback?: Function
- a function that will be called when the embed token has expiredconst embedOptions = {
contentId: 'f5366b40-fbc7-4773-8180-7759bb0760df'
}
<PyramidEmbedContainer
host="http://pyramid:8181"
options={embedOptions}
style={{width: 1280, height: 720}}
/>
const embedOptions = {
contentId: 'f5366b40-fbc7-4773-8180-7759bb0760df'
}
<PyramidEmbedContainer
host="http://pyramid:8181"
options={embedOptions}
loginType="windows"
style={{width: 1280, height: 720}}
/>
import { PyramidEmbedContainer, Filter } from '@pyramid-embed/embed-react';
const filter = Filter.create().addUniqueName('[customer].[country].[France]');
const embedOptions = {
contentId: 'f5366b40-fbc7-4773-8180-7759bb0760df',
filters: filter
}
<PyramidEmbedContainer
host="http://pyramid:8181"
options={embedOptions}
style={{width: 1280, height: 720}}
/>
For more help on embedding with Pyramid, especially instructions on authentication, scenarios and use of REST APIs together with embedding, please see online help.
FAQs
The wrapper for [@pyramid-embed/embed-js](https://www.npmjs.com/package/@pyramid-embed/embed-js)
We found that @pyramid-embed/embed-react 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.
Research
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.